22.4. Methods
The following methods are defined in the class javax.jms.JMSException.
getErrorCode
public java.lang.String getErrorCode()
Gets the vendor-specific error code.
RETURNS:
a string specifying the vendor-specific error code
getLinkedException
public java.lang.Exception getLinkedException()
Gets the exception linked to this one.
RETURNS:
the linked Exception, null if none
setLinkedException
public synchronized void setLinkedException(java.lang.Exception ex)
Adds a linked Exception.
PARAMETERS:
ex the linked Exception
Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform 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.