LocalTransactionException represents various
error conditions related to the local transaction management contract.
The Java Transaction API specification specifies the
javax.transaction.xa.XAException class for exceptions
related to XAResource based transaction management contract.
The LocalTransactionException is used for the local
transaction management contract to indicate the following common
error conditions:
commit method on
LocalTransaction object without an active
local transaction is an error condition.
commit method call on the LocalTransaction
object.
ManagedConnection that is already associated with
an active local transaction.
| Access | Constructor and Description |
|---|---|
| public | |
| public | LocalTransactionException(String
the detail message. message)Constructs a new instance with the specified detail message. |
| public | LocalTransactionException(Throwable
a chained exception of type cause)Throwable.Constructs a new throwable with the specified cause. |
| public | LocalTransactionException(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 | LocalTransactionException(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 an error code. |
| LocalTransactionException | back to summary |
|---|---|
| public LocalTransactionException() Constructs a new instance with null as its detail message. | |
| LocalTransactionException | back to summary |
|---|---|
| public LocalTransactionException(String message) Constructs a new instance with the specified detail message.
| |
| LocalTransactionException | back to summary |
|---|---|
| public LocalTransactionException(Throwable cause) Constructs a new throwable with the specified cause.
| |
| LocalTransactionException | back to summary |
|---|---|
| public LocalTransactionException(String message, Throwable cause) Constructs a new throwable with the specified detail message and cause. | |
| LocalTransactionException | back to summary |
|---|---|
| public LocalTransactionException(String message, String errorCode) Constructs a new throwable with the specified detail message and an error code. | |