public class TransactionRolledBackException extends JMSException
Session.commit
results in a rollback of the current transaction.Constructor and Description |
---|
TransactionRolledBackException(java.lang.String reason)
Constructs a
TransactionRolledBackException with the specified reason. |
TransactionRolledBackException(java.lang.String reason,
java.lang.String errorCode)
Constructs a
TransactionRolledBackException with the specified reason and error code. |
TransactionRolledBackException(java.lang.String reason,
java.lang.String errorCode,
java.lang.Exception linkedException)
Constructs a
TransactionRolledBackException with the specified reason, error code
and linked exception. |
getErrorCode, getLinkedException, setLinkedException
public TransactionRolledBackException(java.lang.String reason, java.lang.String errorCode, java.lang.Exception linkedException)
TransactionRolledBackException
with the specified reason, error code
and linked exception.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific error codelinkedException
- a linked exceptionpublic TransactionRolledBackException(java.lang.String reason, java.lang.String errorCode)
TransactionRolledBackException
with the specified reason and error code.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific error codepublic TransactionRolledBackException(java.lang.String reason)
TransactionRolledBackException
with the specified reason. The error code defaults to null.reason
- a description of the exception