public class MQTransactionInProgressRuntimeException extends TransactionInProgressRuntimeException implements com.sun.messaging.jmq.jmsclient.logging.Loggable
Constructor and Description |
---|
MQTransactionInProgressRuntimeException(String detailMessage)
Constructs a
MQMQTransactionInProgressRuntimeException with the specified detail message |
MQTransactionInProgressRuntimeException(String detailMessage,
String errorCode)
Constructs a
MQMQTransactionInProgressRuntimeException with the specified detail message
and error code. |
MQTransactionInProgressRuntimeException(String detailMessage,
String errorCode,
Throwable cause)
Constructs a
MQMQTransactionInProgressRuntimeException with the specified detail message,
error code and cause |
MQTransactionInProgressRuntimeException(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.
|
getErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MQTransactionInProgressRuntimeException(String detailMessage)
MQMQTransactionInProgressRuntimeException
with the specified detail messagedetailMessage
- a description of the exceptionpublic MQTransactionInProgressRuntimeException(String detailMessage, String errorCode)
MQMQTransactionInProgressRuntimeException
with the specified detail message
and error code.detailMessage
- a description of the exceptionerrorCode
- a provider-specific error codepublic MQTransactionInProgressRuntimeException(String detailMessage, String errorCode, 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(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.Loggable
whether
- this object is loggedpublic boolean getLogState()
getLogState
in interface com.sun.messaging.jmq.jmsclient.logging.Loggable
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.