| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception javax.resource.ResourceException javax.resource.NotSupportedException
NotSupportedException | public class NotSupportedException extends ResourceException (Code) | | 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.
|
NotSupportedException | public NotSupportedException()(Code) | | Create a not supported exception.
|
NotSupportedException | public NotSupportedException(String reason)(Code) | | Create a not supported exception with a reason.
Parameters: reason - the reason |
NotSupportedException | public NotSupportedException(String reason, String errorCode)(Code) | | Create a not supported exception with a reason and an errorCode.
Parameters: reason - the reason Parameters: errorCode - the error code |
NotSupportedException | public NotSupportedException(String reason, Throwable throwable)(Code) | | Create a not supported exception with a reason and an error.
Parameters: reason - the reason Parameters: throwable - the error |
NotSupportedException | public NotSupportedException(Throwable throwable)(Code) | | Create a not supported exception with an error.
Parameters: throwable - the error |
Fields inherited from javax.resource.ResourceException | final static long serialVersionUID(Code)(Java Doc)
|
|
|
|