# AlreadyBoundException

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# AlreadyBoundException

```
open class AlreadyBoundException : IllegalStateException
```

|---|---|---|---|---|------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                 ||||||
| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)                                                  |||||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/kotlin/java/lang/Exception.html#)                                             ||||
|   |   | ↳ | [java.lang.RuntimeException](https://developer.android.com/reference/kotlin/java/lang/RuntimeException.html#)                            |||
|   |   |   | ↳ | [java.lang.IllegalStateException](https://developer.android.com/reference/kotlin/java/lang/IllegalStateException.html#)               ||
|   |   |   |   | ↳ | [java.nio.channels.AlreadyBoundException](https://developer.android.com/reference/kotlin/java/nio/channels/AlreadyBoundException#) |

Unchecked exception thrown when an attempt is made to bind the socket a network oriented channel that is already bound.

## Summary

|                                                                                 Public constructors                                                                                  ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [AlreadyBoundException](https://developer.android.com/reference/kotlin/java/nio/channels/AlreadyBoundException#AlreadyBoundException())`()` Constructs an instance of this class. |

## Public constructors

### AlreadyBoundException

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
AlreadyBoundException()
```

Constructs an instance of this class.