FileDocCategorySizeDatePackage
MessageNotReadableException.javaAPI DocGlassfish v2 API2910Fri May 04 22:36:16 BST 2007javax.jms

MessageNotReadableException

public class MessageNotReadableException extends JMSException

This exception must be thrown when a JMS client attempts to read a write-only message.

version
26 August 1998
author
Rahul Sharma

Fields Summary
Constructors Summary
public MessageNotReadableException(String reason, String errorCode)
Constructs a MessageNotReadableException with the specified reason and error code.

param
reason a description of the exception
param
errorCode a string specifying the vendor-specific error code

    super(reason, errorCode);
  
public MessageNotReadableException(String reason)
Constructs a MessageNotReadableException with the specified reason. The error code defaults to null.

param
reason a description of the exception

    super(reason);
  
Methods Summary