public class JMSExceptionWrapper extends JMSException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getErrorCode, getLinkedException, setLinkedException
public JMSExceptionWrapper()
public JMSExceptionWrapper(java.lang.String msg)
msg
- the exception message.public JMSExceptionWrapper(java.lang.Throwable rootCause)
rootCause
- the underlying wrapped exception.public static JMSException create(java.lang.Throwable rootCause)
public java.lang.Throwable getRootCause()
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable