Class CascadingException

    • Constructor Summary

      Constructors 
      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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()
      Retrieve root cause of the exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • CascadingException

        public CascadingException​(java.lang.String message)
        Construct a new CascadingException instance.
        Parameters:
        message - The detail message for this exception.
      • CascadingException

        public CascadingException​(java.lang.String message,
                                  java.lang.Throwable throwable)
        Construct a new CascadingException instance.
        Parameters:
        message - The detail message for this exception.
        throwable - the root cause of the exception
    • Method Detail

      • getCause

        public final java.lang.Throwable getCause()
        Retrieve root cause of the exception.
        Specified by:
        getCause in interface CascadingThrowable
        Overrides:
        getCause in class java.lang.Throwable
        Returns:
        the root cause