javax.jms
Class JMSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.jms.JMSException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- IllegalStateException, InvalidClientIDException, InvalidDestinationException, InvalidSelectorException, JMSExceptionWrapper, JMSExceptionWrapper, JMSSecurityException, MessageEOFException, MessageFormatException, MessageNotReadableException, MessageNotWriteableException, ResourceAllocationException, TransactionInProgressException, TransactionRolledBackException
public class JMSException
- extends java.lang.Exception
The main message.
- See Also:
- Serialized Form
|
Constructor Summary |
JMSException(java.lang.String reason)
|
JMSException(java.lang.String reason,
java.lang.String errorCode)
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JMSException
public JMSException(java.lang.String reason)
JMSException
public JMSException(java.lang.String reason,
java.lang.String errorCode)
getErrorCode
public java.lang.String getErrorCode()
getLinkedException
public java.lang.Exception getLinkedException()
setLinkedException
public void setLinkedException(java.lang.Exception cause)
getCause
public java.lang.Throwable getCause()
- Overrides:
getCause in class java.lang.Throwable