# IllegalSelectorException

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

# IllegalSelectorException

```
open class IllegalSelectorException : IllegalArgumentException
```

|---|---|---|---|---|------------------------------------------------------------------------------------------------------------------------------------------|
| [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.IllegalArgumentException](https://developer.android.com/reference/kotlin/java/lang/IllegalArgumentException.html#)               ||
|   |   |   |   | ↳ | [java.nio.channels.IllegalSelectorException](https://developer.android.com/reference/kotlin/java/nio/channels/IllegalSelectorException#) |

Unchecked exception thrown when an attempt is made to register a channel with a selector that was not created by the provider that created the channel.

## Summary

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

## Public constructors

### IllegalSelectorException

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

```
IllegalSelectorException()
```

Constructs an instance of this class.