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