public class TransactionInProgressRuntimeException extends JMSRuntimeException
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 |
getErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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 exceptionComments to: jms-dev@eclipse.org.
Copyright © 2018, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.