class in jakarta.jms">MessageFormatException</a></code> - if an invalid message is specified.</dd>
<dd><code><a href="InvalidDestinationException.html" title="class in jakarta.jms">InvalidDestinationException</a></code> - if a client uses this method with a <code>QueueSender</code> with an invalid queue.</dd>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOp