|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.jms.JMSException
com.caucho.jms.JmsExceptionWrapper
public class JmsExceptionWrapper
Wraps the actual exception with an JMS exception
Constructor Summary | |
---|---|
JmsExceptionWrapper()
Null constructor for beans |
|
JmsExceptionWrapper(java.lang.String msg)
Create a basic JMSExceptionWrapper with a message. |
|
JmsExceptionWrapper(java.lang.Throwable rootCause)
Create a JMSExceptionWrapper wrapping a root exception. |
Method Summary | |
---|---|
static JMSException |
create(java.lang.Throwable rootCause)
Creates an JMSException from a throwable. |
java.lang.Throwable |
getCause()
Returns the root exception if it exists. |
java.lang.Throwable |
getRootCause()
Returns the root exception if it exists. |
Methods inherited from class javax.jms.JMSException |
---|
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 |
---|
public JmsExceptionWrapper()
public JmsExceptionWrapper(java.lang.String msg)
msg
- the exception message.public JmsExceptionWrapper(java.lang.Throwable rootCause)
rootCause
- the underlying wrapped exception.Method Detail |
---|
public static JMSException create(java.lang.Throwable rootCause)
public java.lang.Throwable getRootCause()
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |