public class CascadingException extends java.lang.Exception implements CascadingThrowable
Constructor and 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 and 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