javax.jms
Class JMSException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.jms.JMSException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IllegalStateException, InvalidClientIDException, InvalidDestinationException, InvalidSelectorException, JMSSecurityException, MessageEOFException, MessageFormatException, MessageNotReadableException, MessageNotWriteableException, ResourceAllocationException, TransactionInProgressException, TransactionRolledBackException

public class JMSException
extends java.lang.Exception

Version:
$Rev: 106434 $ $Date: 2004-11-24 10:11:30 -0700 (Wed, 24 Nov 2004) $
See Also:
Serialized Form

Field Summary
private  java.lang.String errorCode
           
private  java.lang.Exception linkedException
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
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 ex)
           
 
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
 

Field Detail

errorCode

private java.lang.String errorCode

linkedException

private java.lang.Exception linkedException
Constructor Detail

JMSException

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

JMSException

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

getErrorCode

public java.lang.String getErrorCode()

getLinkedException

public java.lang.Exception getLinkedException()

setLinkedException

public void setLinkedException(java.lang.Exception ex)