Added in API level 1

CancelledKeyException

public class CancelledKeyException
extends IllegalStateException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalStateException
           ↳ java.nio.channels.CancelledKeyException


Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid.

Summary

Public constructors

CancelledKeyException()

Constructs an instance of this class.

Inherited methods

Public constructors

CancelledKeyException

Added in API level 1
public CancelledKeyException ()

Constructs an instance of this class.