|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.resource.ResourceException
|
+--javax.resource.spi.IllegalStateException
An IllegalStateException is thrown from a method if the callee (resource adapter or application server for system contracts) is in an illegal or inappropriate state for the method invocation.
| Constructor Summary | |
IllegalStateException(java.lang.String reason)
Create an IllegalStateException with reason. |
|
IllegalStateException(java.lang.String reason,
java.lang.String errorCode)
Create an IllegalStateException. |
|
| Methods inherited from class javax.resource.ResourceException |
getErrorCode, getLinkedException, setLinkedException |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public IllegalStateException(java.lang.String reason,
java.lang.String errorCode)
reason - a description of the exceptionerrorCode - a string specifying the vendor specific
error codepublic IllegalStateException(java.lang.String reason)
reason - a description of the exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||