# AcceptPendingException

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

# AcceptPendingException

```
open class AcceptPendingException : 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.AcceptPendingException](https://developer.android.com/reference/kotlin/java/nio/channels/AcceptPendingException#) |

Unchecked exception thrown when an attempt is made to initiate an accept operation on a channel and a previous accept operation has not completed.

## Summary

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

## Public constructors

### AcceptPendingException

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

```
AcceptPendingException()
```

Constructs an instance of this class.