public class MessageEOFException extends JMSException
StreamMessage
or
BytesMessage
is being read.Constructor and Description |
---|
MessageEOFException(java.lang.String reason)
Constructs a
MessageEOFException with the specified reason. |
MessageEOFException(java.lang.String reason,
java.lang.String errorCode)
Constructs a
MessageEOFException with the specified reason and error code. |
MessageEOFException(java.lang.String reason,
java.lang.String errorCode,
java.lang.Exception linkedException)
Constructs a
MessageEOFException with the specified reason, error code
and linked exception. |
getErrorCode, getLinkedException, setLinkedException
public MessageEOFException(java.lang.String reason, java.lang.String errorCode, java.lang.Exception linkedException)
MessageEOFException
with the specified reason, error code
and linked exception.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific error codelinkedException
- a linked exceptionpublic MessageEOFException(java.lang.String reason, java.lang.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(java.lang.String reason)
MessageEOFException
with the specified reason. The error code defaults to null.reason
- a description of the exception