org.jboss.jms
Class JBossJMSException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.jms.JMSException (src) 
              extended byorg.jboss.jms.JBossJMSException
All Implemented Interfaces:
java.io.Serializable

public class JBossJMSException
extends JMSException (src)

A JMS exception that allows for an embedded exception

See Also:
Serialized Form

Constructor Summary
JBossJMSException(java.lang.String message)
          Construct a new JBossJMSException with the give message
JBossJMSException(java.lang.String message, java.lang.Throwable cause)
          Construct a new JBossJMSException with the give message and cause
 
Method Summary
 java.lang.Throwable getCause()
           
static JMSException (src) handle(java.lang.Throwable t)
          Handle an exception
 
Methods inherited from class javax.jms.JMSException (src)
getErrorCode, getLinkedException, setLinkedException
 
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
 

Constructor Detail

JBossJMSException

public JBossJMSException(java.lang.String message)
Construct a new JBossJMSException with the give message

Parameters:
message - the message

JBossJMSException

public JBossJMSException(java.lang.String message,
                         java.lang.Throwable cause)
Construct a new JBossJMSException with the give message and cause

Parameters:
message - the message
cause - the cause
Method Detail

handle

public static JMSException (src)  handle(java.lang.Throwable t)
Handle an exception

Parameters:
t - the exception
Returns:
the resultant JMSException

getCause

public java.lang.Throwable getCause()