This exception must be thrown when a JMS client attempts to write to a read-only message.
Constructs a MessageNotWriteableException with the specified reason and error code.paramreason a description of the exceptionparamerrorCode a string specifying the vendor-specific error code super(reason, errorCode);
MessageNotWriteableException
super(reason, errorCode);
Constructs a MessageNotWriteableException with the specified reason. The error code defaults to null.paramreason a description of the exception super(reason);
super(reason);