public class TransactionInProgressRuntimeException extends JMSRuntimeException
This unchecked exception is thrown when an
operation is invalid because a transaction is in progress.
For instance, an attempt to call JMSContext.commit when the
context is part of a distributed transaction should throw a
TransactionInProgressRuntimeException.
| Constructor and Description |
|---|
TransactionInProgressRuntimeException(String detailMessage)
Constructs a
TransactionInProgressRuntimeException with the
specified detail message |
TransactionInProgressRuntimeException(String detailMessage,
String errorCode)
Constructs a
TransactionInProgressRuntimeException with the
specified detail message and error code. |
TransactionInProgressRuntimeException(String detailMessage,
String errorCode,
Throwable cause)
Constructs a
TransactionInProgressRuntimeException with the
specified detail message, error code and cause |
getErrorCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TransactionInProgressRuntimeException(String detailMessage)
TransactionInProgressRuntimeException with the
specified detail messagedetailMessage - a description of the exceptionpublic TransactionInProgressRuntimeException(String detailMessage, String errorCode)
TransactionInProgressRuntimeException with the
specified detail message and error code.detailMessage - a description of the exceptionerrorCode - a provider-specific error codepublic TransactionInProgressRuntimeException(String detailMessage, String errorCode, 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 exceptionCopyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.