public class MessageNotWriteableRuntimeException extends JMSRuntimeException
This unchecked exception must be thrown when a JMS client attempts to write to a read-only message.
| Constructor and Description |
|---|
MessageNotWriteableRuntimeException(String reason)
Constructs a
MessageNotWriteableRuntimeException with the
specified reason. |
MessageNotWriteableRuntimeException(String reason,
String errorCode)
Constructs a
MessageNotWriteableRuntimeException with the
specified reason and error code. |
MessageNotWriteableRuntimeException(String detailMessage,
String errorCode,
Throwable cause)
Constructs a
MessageNotWriteableRuntimeException with the specified detail message,
error code and cause |
getErrorCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MessageNotWriteableRuntimeException(String reason, String errorCode)
MessageNotWriteableRuntimeException with the
specified reason and error code.reason - a description of the exceptionerrorCode - a string specifying the vendor-specific error codepublic MessageNotWriteableRuntimeException(String reason)
MessageNotWriteableRuntimeException with the
specified reason. The error code defaults to null.reason - a description of the exceptionpublic MessageNotWriteableRuntimeException(String detailMessage, String errorCode, Throwable cause)
MessageNotWriteableRuntimeException with the specified detail message,
error code and causedetailMessage - a description of the exceptionerrorCode - a provider-specific error codecause - the underlying cause of this exceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.