public class MessageNotReadableException extends JMSException
Constructor and Description |
---|
MessageNotReadableException(java.lang.String reason)
Constructs a
MessageNotReadableException with the specified reason. |
MessageNotReadableException(java.lang.String reason,
java.lang.String errorCode)
Constructs a
MessageNotReadableException with the specified reason and error code. |
getErrorCode, getLinkedException, setLinkedException
public MessageNotReadableException(java.lang.String reason, java.lang.String errorCode)
MessageNotReadableException
with the specified reason and error code.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific error codepublic MessageNotReadableException(java.lang.String reason)
MessageNotReadableException
with the specified reason. The error code defaults to null.reason
- a description of the exception