Team LiB
Previous Section Next Section

IllegalStateExceptionjava.lang

Java 1.1serializable unchecked

Signals that a method has been invoked on an object that is not in an appropriate state to perform the requested operation.

Figure 10-28. java.lang.IllegalStateException


public class IllegalStateException extends RuntimeException {
// Public Constructors
     public IllegalStateException( );  
5.0  public IllegalStateException(Throwable cause);  
     public IllegalStateException(String s);  
5.0  public IllegalStateException(String message, Throwable cause);  
}

Subclasses

java.nio.InvalidMarkException, java.nio.channels.AlreadyConnectedException,java.nio.channels.CancelledKeyException, java.nio.channels.ClosedSelectorException,java.nio.channels.ConnectionPendingException, java.nio.channels.IllegalBlockingModeException,java.nio.channels.NoConnectionPendingException, java.nio.channels.NonReadableChannelException, java.nio.channels.NonWritableChannelException, java.nio.channels.NotYetBoundException,java.nio.channels.NotYetConnectedException, java.nio.channels.OverlappingFileLockException,java.util.FormatterClosedException, java.util.concurrent.CancellationException

Thrown By

Too many methods to list.

    Team LiB
    Previous Section Next Section