arameters:</span></dt>
<dd><code>message</code> - the message that was sent.</dd>
</dl>
</li>
</ul>
<a name="onException-jakarta.jms.Message-java.lang.Exception-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onException</h4>
<pre>void&nbsp;onException(<a href="../../jakarta/jms/Message.html" title="interface in jakarta.jms">Message</a>&nbsp;message,
                 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interfa