Package jakarta.jms

Class MessageNotWriteableException

All Implemented Interfaces:
Serializable

public class MessageNotWriteableException extends JMSException
This exception must be thrown when a Jakarta Messaging client attempts to write to a read-only message.
Since:
JMS 1.0
See Also:
  • Constructor Details

    • MessageNotWriteableException

      public MessageNotWriteableException(String reason, String errorCode, Exception linkedException)
      Constructs a MessageNotWriteableException with the specified reason, error code and linked exception.
      Parameters:
      reason - a description of the exception
      errorCode - a string specifying the vendor-specific error code
      linkedException - a linked exception
    • MessageNotWriteableException

      public MessageNotWriteableException(String reason, String errorCode)
      Constructs a MessageNotWriteableException with the specified reason and error code.
      Parameters:
      reason - a description of the exception
      errorCode - a string specifying the vendor-specific error code
    • MessageNotWriteableException

      public MessageNotWriteableException(String reason)
      Constructs a MessageNotWriteableException with the specified reason. The error code defaults to null.
      Parameters:
      reason - a description of the exception