java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--javax.resource.ResourceException | +--javax.resource.spi.LocalTransactionException
A LocalTransactionException represents various error conditions related to the local transaction management contract. The JTA 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:
LocalTransactionException(java.lang.String reason)
LocalTransactionException(java.lang.String reason,
java.lang.String errorCode)
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public LocalTransactionException(java.lang.String reason, java.lang.String errorCode)
reason
- a description of the exceptionerrorCode
- a string specifying the vendor specific
error codepublic LocalTransactionException(java.lang.String reason)
reason
- a description of the exception