public class MessageEOFException extends JMSException
StreamMessage
or
BytesMessage
is being read.Constructor and Description |
---|
MessageEOFException(String reason)
Constructs a
MessageEOFException with the specified reason. |
MessageEOFException(String reason,
String errorCode)
Constructs a
MessageEOFException with the specified reason and error code. |
getErrorCode, getLinkedException, setLinkedException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MessageEOFException(String reason, String errorCode)
MessageEOFException
with the specified reason and error code.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific error codepublic MessageEOFException(String reason)
MessageEOFException
with the specified reason. The error code defaults to null.reason
- a description of the exceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.