public class TransactionInProgressRuntimeException extends JMSRuntimeException
JMSContext.commit when the context is part of a distributed transaction should throw a
TransactionInProgressRuntimeException.| Constructor and Description |
|---|
TransactionInProgressRuntimeException(java.lang.String detailMessage)
Constructs a
TransactionInProgressRuntimeException with the specified detail message |
TransactionInProgressRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
Constructs a
TransactionInProgressRuntimeException with the specified detail message and error code. |
TransactionInProgressRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a
TransactionInProgressRuntimeException with the specified detail message, error code and cause |
getErrorCodepublic TransactionInProgressRuntimeException(java.lang.String detailMessage)
TransactionInProgressRuntimeException with the specified detail messagedetailMessage - a description of the exceptionpublic TransactionInProgressRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
TransactionInProgressRuntimeException with the specified detail message and error code.detailMessage - a description of the exceptionerrorCode - a provider-specific error codepublic TransactionInProgressRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
TransactionInProgressRuntimeException 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