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