org.huihoo.jfox.ejb.exception
Class JMSException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.huihoo.jfox.ejb.exception.JMSException
All Implemented Interfaces:
java.io.Serializable

public class JMSException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
JMSException(java.lang.String reason)
          Construct a JMSException with reason and with error code defaulting to null.
JMSException(java.lang.String reason, java.lang.String errorCode)
          Construct a JMSException with reason and error code for exception
 
Method Summary
 java.lang.String getErrorCode()
          Get the vendor specific error code.
 java.lang.Exception getLinkedException()
          Get the exception linked to this one.
 void setLinkedException(java.lang.Exception ex)
          Set the linked exception
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMSException

public JMSException(java.lang.String reason,
                    java.lang.String errorCode)
Construct a JMSException with reason and error code for exception


JMSException

public JMSException(java.lang.String reason)
Construct a JMSException with reason and with error code defaulting to null.

Method Detail

getErrorCode

public java.lang.String getErrorCode()
Get the vendor specific error code.


getLinkedException

public java.lang.Exception getLinkedException()
Get the exception linked to this one.


setLinkedException

public void setLinkedException(java.lang.Exception ex)
Set the linked exception