CascadingThrowable
ComponentException
, ConfigurationException
, ContextException
, ParameterException
, ServiceException
public class CascadingException extends java.lang.Exception implements CascadingThrowable
Constructor | Description |
---|---|
CascadingException(java.lang.String message) |
Construct a new
CascadingException instance. |
CascadingException(java.lang.String message,
java.lang.Throwable throwable) |
Construct a new
CascadingException instance. |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Throwable |
getCause() |
Retrieve root cause of the exception.
|
public CascadingException(java.lang.String message)
CascadingException
instance.message
- The detail message for this exception.public CascadingException(java.lang.String message, java.lang.Throwable throwable)
CascadingException
instance.message
- The detail message for this exception.throwable
- the root cause of the exceptionpublic final java.lang.Throwable getCause()
getCause
in interface CascadingThrowable
getCause
in class java.lang.Throwable