Interface WithException

    • Method Detail

      • getException

        java.lang.Throwable getException()
        Returns the cause of the failure.
        Returns:
        the Throwable of the failure, or null if not failed (yet).
      • setException

        void setException​(java.lang.Throwable exception)
        Sets the exception that caused the operation to fail.
        Parameters:
        exception - The Throwable to set; must be non-null