Build 1.0_r1(from source)

java.lang
Class IllegalStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyConnectedException, CancellationException, CancelledKeyException, ClosedSelectorException, ConnectionPendingException, FormatterClosedException, IllegalBlockingModeException, InvalidMarkException, NoConnectionPendingException, NonReadableChannelException, NonWritableChannelException, NotYetBoundException, NotYetConnectedException, OverlappingFileLockException

public class IllegalStateException
extends RuntimeException

This runtime exception is thrown when an action is attempted at a time when the virtual machine is not in the correct state.

See Also:
Serialized Form

Constructor Summary
IllegalStateException()
          Constructs a new instance of this class with its walkback filled in.
IllegalStateException(String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
IllegalStateException(String message, Throwable cause)
          Constructs a new instance with a message and cause.
IllegalStateException(Throwable cause)
          Constructs a new instance with a cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalStateException

public IllegalStateException()
Constructs a new instance of this class with its walkback filled in.


IllegalStateException

public IllegalStateException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - String The detail message for the exception.

IllegalStateException

public IllegalStateException(String message,
                             Throwable cause)

Constructs a new instance with a message and cause.

Parameters:
message - The message to assign to this exception.
cause - The optional cause of this exception; may be null.
Since:
1.5

IllegalStateException

public IllegalStateException(Throwable cause)

Constructs a new instance with a cause.

Parameters:
cause - The optional cause of this exception; may be null.
Since:
1.5

Build 1.0_r1(from source)

Please submit a feedback, bug or feature