|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.resource.ResourceException (src)
javax.resource.spi.IllegalStateException
A IllegalStateException is thrown when a method has been invoked on an object which is in the wrong state to execute the method.
Constructor Summary | |
IllegalStateException()
Create an exception. |
|
IllegalStateException(java.lang.String reason)
Create an exception with a reason. |
|
IllegalStateException(java.lang.String reason,
java.lang.String errorCode)
Create an exception with a reason and an errorCode. |
|
IllegalStateException(java.lang.String reason,
java.lang.Throwable cause)
Create an exception with a reason and cause. |
|
IllegalStateException(java.lang.Throwable cause)
Create an exception with a cause. |
Methods inherited from class javax.resource.ResourceException (src) |
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, 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 |
public IllegalStateException()
public IllegalStateException(java.lang.String reason)
public IllegalStateException(java.lang.String reason, java.lang.String errorCode)
public IllegalStateException(java.lang.String reason, java.lang.Throwable cause)
reason
- the reasoncause
- the causepublic IllegalStateException(java.lang.Throwable cause)
cause
- the cause
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |