public class MQTransactionRolledBackRuntimeException extends TransactionRolledBackRuntimeException implements com.sun.messaging.jmq.jmsclient.logging.Loggable
Constructor and Description |
---|
MQTransactionRolledBackRuntimeException(String detailMessage)
Constructs a
MQTransactionRolledBackRuntimeException with the specified detail message |
MQTransactionRolledBackRuntimeException(String detailMessage,
String errorCode)
Constructs a
MQTransactionRolledBackRuntimeException with the specified detail message
and error code. |
MQTransactionRolledBackRuntimeException(String detailMessage,
String errorCode,
Throwable cause)
Constructs a
MQTransactionRolledBackRuntimeException with the specified detail message,
error code and cause |
MQTransactionRolledBackRuntimeException(TransactionRolledBackException cause)
Construct a
MQTransactionRolledBackRuntimeException to wrap the
specified TransactionRolledBackException |
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 MQTransactionRolledBackRuntimeException(String detailMessage)
MQTransactionRolledBackRuntimeException
with the specified detail messagedetailMessage
- a description of the exceptionpublic MQTransactionRolledBackRuntimeException(String detailMessage, String errorCode)
MQTransactionRolledBackRuntimeException
with the specified detail message
and error code.detailMessage
- a description of the exceptionerrorCode
- a provider-specific error codepublic MQTransactionRolledBackRuntimeException(String detailMessage, String errorCode, Throwable cause)
MQTransactionRolledBackRuntimeException
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 MQTransactionRolledBackRuntimeException(TransactionRolledBackException cause)
MQTransactionRolledBackRuntimeException
to wrap the
specified TransactionRolledBackExceptioncause
- 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.