Class IllegalStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osid.OsidRuntimeException
org.osid.ConsumerContractException
org.osid.IllegalStateException
- All Implemented Interfaces:
Serializable
Method has been executed at an inappropriate time such as
re-initializing a manager, accessing a resource after it has been closed,
opening a new transaction while one is already in progress, or accessing
elements when no more exist.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aIllegalStateExceptionwith the specified detail message.IllegalStateException(String msg, Throwable t) Constructs aIllegalStateExceptionwith the specified detail message and cause.Constructs aIllegalStateExceptionwith the specified cause and a detail message ofcause.toString()which typically contains the class and detail message ofcause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalStateException
-
IllegalStateException
-
IllegalStateException
Constructs aIllegalStateExceptionwith the specified cause and a detail message ofcause.toString()which typically contains the class and detail message ofcause.- Parameters:
t- the cause of the exception
-