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.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Explicitly set serialVersionUID to be the same as the implicit serialVersionUID of the JMS 2.0 version
|
| Access | Constructor and Description |
|---|---|
| public | TransactionInProgressRuntimeException(String
a description of the exception detailMessage)Constructs a |
| public | TransactionInProgressRuntimeException(String
a description of the exception detailMessage, String a provider-specific error code errorCode)Constructs a |
| public | TransactionInProgressRuntimeException(String
a description of the exception detailMessage, String a provider-specific error code errorCode, Throwable the underlying cause of this exception cause)Constructs a |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. Explicitly set serialVersionUID to be the same as the implicit serialVersionUID of the JMS 2.0 version | |
| TransactionInProgressRuntimeException | back to summary |
|---|---|
| public TransactionInProgressRuntimeException(String detailMessage) Constructs a
| |
| TransactionInProgressRuntimeException | back to summary |
|---|---|
| public TransactionInProgressRuntimeException(String detailMessage, String errorCode) Constructs a | |
| TransactionInProgressRuntimeException | back to summary |
|---|---|
| public TransactionInProgressRuntimeException(String detailMessage, String errorCode, Throwable cause) Constructs a | |