public class MQInvalidClientIDRuntimeException extends 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(InvalidClientIDException cause)
Construct a
MQInvalidClientIDRuntimeException to wrap the
specified InvalidClientIDException |
MQInvalidClientIDRuntimeException(String detailMessage)
Constructs a
MQInvalidClientIDRuntimeException with the specified detail message |
MQInvalidClientIDRuntimeException(String detailMessage,
String errorCode)
Constructs a
MQInvalidClientIDRuntimeException with the specified detail message
and error code. |
MQInvalidClientIDRuntimeException(String detailMessage,
String errorCode,
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.
|
getErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MQInvalidClientIDRuntimeException(String detailMessage)
MQInvalidClientIDRuntimeException
with the specified detail messagedetailMessage
- a description of the exceptionpublic MQInvalidClientIDRuntimeException(String detailMessage, String errorCode)
MQInvalidClientIDRuntimeException
with the specified detail message
and error code.detailMessage
- a description of the exceptionerrorCode
- a provider-specific error codepublic MQInvalidClientIDRuntimeException(String detailMessage, String errorCode, 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(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.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.