Name

MessageNotReadableException

Synopsis

This exception is thrown if a client attempts to read data from a write-only message (e.g., a StreamMessage whose contents have not yet been reset).

                  Returned By
public class MessageNotReadableException extends JMSException {
// Public Constructors
   public MessageNotReadableException( String reason);  
   public MessageNotReadableException(String reason, 
        String errorCode);  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.