Name

MessageFormatException

Synopsis

This exception is thrown when an attempt is made to read data from a message as the wrong data type, or to write data to a message in a type that it doesn’t support.

                  
public class MessageFormatException extends JMSException {
// Public Constructors
   public MessageFormatException( String reason);  
   public MessageFormatException(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.