public class TransactionRolledBackRuntimeException extends JMSRuntimeException
JMSContext.commit
results in a rollback of the current
transaction.Constructor and Description |
---|
TransactionRolledBackRuntimeException(java.lang.String detailMessage)
Constructs a
TransactionRolledBackRuntimeException with the
specified detail message |
TransactionRolledBackRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
Constructs a
TransactionRolledBackRuntimeException with the
specified detail message and error code. |
TransactionRolledBackRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a
TransactionRolledBackRuntimeException with the
specified detail message, error code and cause |
getErrorCode
public TransactionRolledBackRuntimeException(java.lang.String detailMessage)
TransactionRolledBackRuntimeException
with the
specified detail messagedetailMessage
- a description of the exceptionpublic TransactionRolledBackRuntimeException(java.lang.String detailMessage, java.lang.String errorCode)
TransactionRolledBackRuntimeException
with the
specified detail message and error code.detailMessage
- a description of the exceptionerrorCode
- a provider-specific error codepublic TransactionRolledBackRuntimeException(java.lang.String detailMessage, java.lang.String errorCode, java.lang.Throwable cause)
TransactionRolledBackRuntimeException
with the
specified detail message, error code and causedetailMessage
- a description of the exceptionerrorCode
- a provider-specific error codecause
- the underlying cause of this exception