public class MQInvalidClientIDRuntimeException
extends javax.jms.InvalidClientIDRuntimeException
implements com.sun.messaging.jmq.jmsclient.logging.Loggable
This class is the MQ-specific implementation of javax.jms.InvalidClientIDRuntimeException and adds the methods setLogState and getlogState
| Constructor and Description |
|---|
MQInvalidClientIDRuntimeException(javax.jms.InvalidClientIDException cause)
Construct a
MQInvalidClientIDRuntimeException to wrap the specified InvalidClientIDException |
MQInvalidClientIDRuntimeException(java.lang.String detailMessage)
Constructs a
MQInvalidClientIDRuntimeException with the specified detail message |
MQInvalidClientIDRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
Constructs a
MQInvalidClientIDRuntimeException with the specified detail message and error code. |
MQInvalidClientIDRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a
MQInvalidClientIDRuntimeException 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 MQInvalidClientIDRuntimeException(java.lang.String detailMessage)
MQInvalidClientIDRuntimeException with the specified detail messagedetailMessage - a description of the exceptionpublic MQInvalidClientIDRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
MQInvalidClientIDRuntimeException with the specified detail message and error code.detailMessage - a description of the exceptionerrorCode - a provider-specific error codepublic MQInvalidClientIDRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
MQInvalidClientIDRuntimeException 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 MQInvalidClientIDRuntimeException(javax.jms.InvalidClientIDException cause)
MQInvalidClientIDRuntimeException to wrap the specified InvalidClientIDExceptioncause - 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.