org.jboss.jms
Class JBossJMSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.jms.JMSException (src)
org.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 |
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 |
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 messagecause
- the cause
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()