|
||||||||||
| 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.jms2.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 | |||||||||