NotSupportedException is thrown to indicate that
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 getXAResource
method on a ManagedConnection object should throw a
NotSupportedException exception.
| Access | Constructor and Description |
|---|---|
| public | |
| public | NotSupportedException(String
the detail message. message)Constructs a new instance with the specified detail message. |
| public | NotSupportedException(Throwable
a chained exception of type cause)Throwable.Constructs a new throwable with the specified cause. |
| public | NotSupportedException(String
the detail message. message, Throwable a chained exception of type cause)Throwable.Constructs a new throwable with the specified detail message and cause. |
| public | NotSupportedException(String
a description of the exception. message, String a string specifying the vendor specific error code. errorCode)Constructs a new throwable with the specified detail message and error code. |
| NotSupportedException | back to summary |
|---|---|
| public NotSupportedException() Constructs a new instance with null as its detail message. | |
| NotSupportedException | back to summary |
|---|---|
| public NotSupportedException(String message) Constructs a new instance with the specified detail message.
| |
| NotSupportedException | back to summary |
|---|---|
| public NotSupportedException(Throwable cause) Constructs a new throwable with the specified cause.
| |
| NotSupportedException | back to summary |
|---|---|
| public NotSupportedException(String message, Throwable cause) Constructs a new throwable with the specified detail message and cause. | |
| NotSupportedException | back to summary |
|---|---|
| public NotSupportedException(String message, String errorCode) Constructs a new throwable with the specified detail message and error code. | |