public class MessageNotWriteableException extends JMSException
This exception must be thrown when a JMS client attempts to write to a read-only message.
| Constructor and Description |
|---|
MessageNotWriteableException(java.lang.String reason)
Constructs a
MessageNotWriteableException with the specified
reason. |
MessageNotWriteableException(java.lang.String reason,
java.lang.String errorCode)
Constructs a
MessageNotWriteableException with the specified
reason and error code. |
getErrorCode, getLinkedException, setLinkedExceptionpublic MessageNotWriteableException(java.lang.String reason,
java.lang.String errorCode)
MessageNotWriteableException with the specified
reason and error code.reason - a description of the exceptionerrorCode - a string specifying the vendor-specific
error codepublic MessageNotWriteableException(java.lang.String reason)
MessageNotWriteableException with the specified
reason. The error code defaults to null.reason - a description of the exception