public class MQInvalidDestinationRuntimeException extends InvalidDestinationRuntimeException implements com.sun.messaging.jmq.jmsclient.logging.Loggable
| Constructor and Description |
|---|
MQInvalidDestinationRuntimeException(InvalidDestinationException cause)
Construct a
MQInvalidDestinationRuntimeException to wrap the
specified InvalidDestinationException |
MQInvalidDestinationRuntimeException(java.lang.String detailMessage)
Constructs a
MQInvalidDestinationRuntimeException with the specified detail message |
MQInvalidDestinationRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
Constructs a
MQInvalidDestinationRuntimeException with the specified detail message
and error code. |
MQInvalidDestinationRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a
MQInvalidDestinationRuntimeException 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.
|
getErrorCodepublic MQInvalidDestinationRuntimeException(java.lang.String detailMessage)
MQInvalidDestinationRuntimeException with the specified detail messagedetailMessage - a description of the exceptionpublic MQInvalidDestinationRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode)
MQInvalidDestinationRuntimeException with the specified detail message
and error code.detailMessage - a description of the exceptionerrorCode - a provider-specific error codepublic MQInvalidDestinationRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
MQInvalidDestinationRuntimeException 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 MQInvalidDestinationRuntimeException(InvalidDestinationException cause)
MQInvalidDestinationRuntimeException to wrap the
specified InvalidDestinationExceptioncause - 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-2014, Oracle and/or its affiliates. All rights reserved.