javax.jms
Class JMSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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)
           
 
Method Summary
 java.lang.String getErrorCode()
           
 java.lang.Exception getLinkedException()
           
 void setLinkedException(java.lang.Exception cause)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Constructor Detail

JMSException

public JMSException(java.lang.String reason)

JMSException

public JMSException(java.lang.String reason,
                    java.lang.String errorCode)
Method Detail

getErrorCode

public java.lang.String getErrorCode()

getLinkedException

public java.lang.Exception getLinkedException()

setLinkedException

public void setLinkedException(java.lang.Exception cause)