Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform
by Mark Hapner, Rich Burridge, Rahul Sharma, Joseph Fialli, Kim Haase
22.1. Overview
The JMSException class is the root class of all JMS API exceptions. It provides the following information:
A provider-specific string describing the error. This string is the standard exception message and is available via the getMessage method.
A provider-specific string error code.
A reference to another exception. Often a JMS API exception will be the result of a lower-level problem. If appropriate, this lower-level exception can be linked to the JMS API exception.
The JMSException subclasses are as follows:
IllegalStateException
InvalidClientIDException
InvalidDestinationException
InvalidSelectorException
JMSSecurityException
MessageEOFException
MessageFormatException
MessageNotReadableException
MessageNotWriteableException
ResourceAllocationException ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access