Name
JMSException
Synopsis
This is the base class for all JMS-related exceptions. It provides a provider-specific error code and a nested exception that is the source of the error.
public class JMSException extends Exception { // Public Constructors public JMSException( String reason); public JMSException( String reason, String errorCode); // Public Instance Methods public String getErrorCode(); public Exception getLinkedException(); public void setLinkedException( Exception ex); // synchronized }
Subclasses
javax.jms.IllegalStateException
, InvalidClientIDException
, InvalidDestinationException
, InvalidSelectorException
, JMSSecurityException
, MessageEOFException
, MessageFormatException
, MessageNotReadableException
, MessageNotWriteableException
, javax.jms.ResourceAllocationException
, TransactionInProgressException
, TransactionRolledBackException
Passed To
javax.jms.ExceptionListener.onException()
Thrown By
Too many methods to list.
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.