href="../../jakarta/jms/JMSException.html" title="class in jakarta.jms">JMSException</a></pre>
<div class="block">This exception must be thrown when a Jakarta Messaging client attempts to use a data type not supported by a message or attempts to
 read data in a message as the wrong type.

 <p>
 It must also be thrown when equivalent type errors are made with message
 property values. For example, this exception must be thrown if <code>StreamMessage.writeObject</code> is given an
 unsupported class or if <co