public class MQTransactionInProgressRuntimeException
extends javax.jms.TransactionInProgressRuntimeException
implements com.sun.messaging.jmq.jmsclient.logging.Loggable
| Constructor and Description |
|---|
MQTransactionInProgressRuntimeException(java.lang.String detailMessage)
Constructs a
MQMQTransactionInProgressRuntimeException with the specified detail message |
MQTransactionInProgressRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
Constructs a
MQMQTransactionInProgressRuntimeException with the specified detail message and error code. |
MQTransactionInProgressRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a
MQMQTransactionInProgressRuntimeException with the specified detail message, error code and
cause |
MQTransactionInProgressRuntimeException(javax.jms.TransactionInProgressException cause)
Construct a
MQMQTransactionInProgressRuntimeException to wrap the specified
TransactionInProgressException |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getLogState()
return whether this object is logged
|
void |
setLogState(boolean state)
Specify whether this object is logged.
|
public MQTransactionInProgressRuntimeException(java.lang.String detailMessage)
MQMQTransactionInProgressRuntimeException with the specified detail messagedetailMessage - a description of the exceptionpublic MQTransactionInProgressRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
MQMQTransactionInProgressRuntimeException with the specified detail message and error code.detailMessage - a description of the exceptionerrorCode - a provider-specific error codepublic MQTransactionInProgressRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
MQMQTransactionInProgressRuntimeException with the specified detail message, error code and
causedetailMessage - a description of the exceptionerrorCode - a provider-specific error codecause - the underlying cause of this exceptionpublic MQTransactionInProgressRuntimeException(javax.jms.TransactionInProgressException cause)
MQMQTransactionInProgressRuntimeException to wrap the specified
TransactionInProgressExceptioncause - the underlying cause of this exceptionpublic void setLogState(boolean state)
setLogState in interface com.sun.messaging.jmq.jmsclient.logging.Loggablewhether - this object is loggedpublic boolean getLogState()
getLogState in interface com.sun.messaging.jmq.jmsclient.logging.LoggableCopyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved.