public class MQSecurityRuntimeException extends JMSSecurityRuntimeException implements com.sun.messaging.jmq.jmsclient.logging.Loggable
| Constructor and Description |
|---|
MQSecurityRuntimeException(JMSSecurityException cause)
Construct a
MQSecurityRuntimeException to wrap the
specified JMSException |
MQSecurityRuntimeException(String detailMessage)
Constructs a
MQSecurityRuntimeException with the specified detail message |
MQSecurityRuntimeException(String detailMessage,
String errorCode)
Constructs a
MQSecurityRuntimeException with the specified detail message
and error code. |
MQSecurityRuntimeException(String detailMessage,
String errorCode,
Throwable cause)
Constructs a
MQSecurityRuntimeException 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.
|
getErrorCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MQSecurityRuntimeException(String detailMessage)
MQSecurityRuntimeException with the specified detail messagedetailMessage - a description of the exceptionpublic MQSecurityRuntimeException(String detailMessage, String errorCode)
MQSecurityRuntimeException with the specified detail message
and error code.detailMessage - a description of the exceptionerrorCode - a provider-specific error codepublic MQSecurityRuntimeException(String detailMessage, String errorCode, Throwable cause)
MQSecurityRuntimeException 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 MQSecurityRuntimeException(JMSSecurityException cause)
MQSecurityRuntimeException to wrap the
specified JMSExceptioncause - 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) 2014, Oracle and/or its affiliates. All rights reserved.