IllegalSelectorException

  • IllegalSelectorException is an unchecked exception indicating an attempt to register a channel with an incompatible selector.

  • It's thrown when a channel and selector are created by different providers.

  • This exception inherits from IllegalArgumentException and Throwable, providing standard exception methods.

  • A public constructor IllegalSelectorException() is available to create instances of this exception.

public class IllegalSelectorException extends IllegalArgumentException

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.

Public Constructor Summary

IllegalSelectorException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public IllegalSelectorException ()

Constructs an instance of this class.