public class MessageNotReadableException extends JMSException
This exception must be thrown when a JMS client attempts to read a write-only message.
Constructor and Description |
---|
MessageNotReadableException(String reason)
Constructs a
MessageNotReadableException with the specified
reason. |
MessageNotReadableException(String reason,
String errorCode)
Constructs a
MessageNotReadableException with the specified
reason and error code. |
getErrorCode, getLinkedException, setLinkedException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MessageNotReadableException(String reason, 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(String reason)
MessageNotReadableException
with the specified
reason. The error code defaults to null.reason
- a description of the exceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.