org.ourgrid.common.exception
Class IllegalStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.ourgrid.common.exception.IllegalStateException
All Implemented Interfaces:
java.io.Serializable

public class IllegalStateException
extends java.lang.RuntimeException

This exception is commonly used when an object reaches an illegal state.

See Also:
Serialized Form

Constructor Summary
IllegalStateException()
          The constructor.
IllegalStateException(java.lang.String message)
          The constructor.
IllegalStateException(java.lang.String message, java.lang.Throwable cause)
          The constructor.
IllegalStateException(java.lang.Throwable cause)
          The constructor.
 
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()
The constructor.


IllegalStateException

public IllegalStateException(java.lang.String message)
The constructor.

Parameters:
message - The message that describes the error.

IllegalStateException

public IllegalStateException(java.lang.Throwable cause)
The constructor.

Parameters:
cause - The throwable that is the cause of this exception.

IllegalStateException

public IllegalStateException(java.lang.String message,
                             java.lang.Throwable cause)
The constructor.

Parameters:
message - The message that describes the error.
cause - The throwable that is the cause of this exception.