|
||||||||||
| PREV CLASS 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.NotSupportedException
A NotSupportedException is thrown to indicate that the callee (resource adapter or application server for system contracts) cannot execute an operation because the operation is not a supported feature. For example, if the transaction support level for a resource adapter is NO_TRANSACTION, an invocation of ManagedConnection.getXAResource method should throw NotSupportedException exception.
| Constructor Summary | |
NotSupportedException()
Create a not supported exception. |
|
NotSupportedException(java.lang.String reason)
Create a not supported exception with a reason. |
|
NotSupportedException(java.lang.String reason,
java.lang.String errorCode)
Create a not supported exception with a reason and an errorCode. |
|
NotSupportedException(java.lang.String reason,
java.lang.Throwable throwable)
Create a not supported exception with a reason and an error. |
|
NotSupportedException(java.lang.Throwable throwable)
Create a not supported exception with an error. |
|
| 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 NotSupportedException()
public NotSupportedException(java.lang.String reason)
reason - the reason
public NotSupportedException(java.lang.String reason,
java.lang.String errorCode)
reason - the reasonerrorCode - the error code
public NotSupportedException(java.lang.String reason,
java.lang.Throwable throwable)
reason - the reasonthrowable - the errorpublic NotSupportedException(java.lang.Throwable throwable)
throwable - the error
|
||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||