IllegalStateException  |  API reference  |  Android Developers (original) (raw)

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.
AlreadyBoundException Unchecked exception thrown when an attempt is made to bind the socket a network oriented channel that is already bound.
AlreadyConnectedException Unchecked exception thrown when an attempt is made to connect a SocketChannel that is already connected.
CancellationException Exception indicating that the result of a value-producing task, such as a FutureTask, cannot be retrieved because the task was cancelled.
CancelledKeyException Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid.
ClosedDirectoryStreamException Unchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed.
ClosedFileSystemException Unchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed.
ClosedSelectorException Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector.
ClosedWatchServiceException Unchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed.
ConnectionPendingException Unchecked exception thrown when an attempt is made to connect a SocketChannel for which a non-blocking connection operation is already in progress.
FormatterClosedException Unchecked exception thrown when the formatter has been closed.
IllegalBlockingModeException Unchecked exception thrown when a blocking-mode-specific operation is invoked upon a channel in the incorrect blocking mode.
InvalidMarkException Unchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined.
LimitExceededException Indicates that the app has exceeded a limit set by the System.
MediaCasStateException Base class for MediaCas runtime exceptions
MediaCodec.CodecException Thrown when an internal codec error occurs.
MediaDrm.MediaDrmStateException Thrown when a general failure occurs during a MediaDrm operation.
MediaDrmResetException This exception is thrown when the MediaDrm instance has become unusable due to a restart of the mediaserver process.
NoConnectionPendingException Unchecked exception thrown when the finishConnect method of a SocketChannel is invoked without first successfully invoking its connect method.
NonReadableChannelException Unchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading.
NonWritableChannelException Unchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing.
NotYetBoundException Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a server socket channel that is not yet bound.
NotYetConnectedException Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected.
OverlappingFileLockException Unchecked exception thrown when an attempt is made to acquire a lock on a region of a file that overlaps a region already locked by the same Java virtual machine, or when another thread is already waiting to lock an overlapping region of the same file.
ReadPendingException Unchecked exception thrown when an attempt is made to read from an asynchronous socket channel and a previous read has not completed.
ServiceStartNotAllowedException Exception thrown when an app tries to start a Service when it's not allowed to do so.
ShutdownChannelGroupException Unchecked exception thrown when an attempt is made to construct a channel in a group that is shutdown or the completion handler for an I/O operation cannot be invoked because the channel group has terminated.
StartForegroundCalledOnStoppedServiceException Exception thrown when android.
UnsafeStateException Exception thrown when a android.app.admin.DevicePolicyManager operation failed because it was not safe to be executed at that moment.
WritePendingException Unchecked exception thrown when an attempt is made to write to an asynchronous socket channel and a previous write has not completed.