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