|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
This is the root interface of the exception hierarchy defined for the Connector architecture. The ResourceException provides the following information:
| Constructor Summary | |
ResourceException(java.lang.String reason)
Create a ResourceException with reason. |
|
ResourceException(java.lang.String reason,
java.lang.String errorCode)
Create a ResourceException. |
|
| Method Summary | |
java.lang.String |
getErrorCode()
Get the vendor specific error code |
java.lang.Exception |
getLinkedException()
Get the exception linked to this ResourceException |
void |
setLinkedException(java.lang.Exception ex)
Add a linked Exception to this ResourceException. |
| 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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ResourceException(java.lang.String reason,
java.lang.String errorCode)
reason - a description of the exceptionerrorCode - a string specifying the vendor specific
error codepublic ResourceException(java.lang.String reason)
reason - a description of the exception| Method Detail |
public java.lang.String getErrorCode()
public java.lang.Exception getLinkedException()
public void setLinkedException(java.lang.Exception ex)
ex - linked Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||