Class OnCompletedFailedException

    • Constructor Detail

      • OnCompletedFailedException

        public OnCompletedFailedException(Throwable throwable)
        Wraps the Throwable before it is to be re-thrown as an OnCompletedFailedException.
        Parameters:
        e - the Throwable to re-throw; if null, a NullPointerException is constructed
      • OnCompletedFailedException

        public OnCompletedFailedException(String message,
                                          Throwable throwable)
        Customizes the Throwable with a custom message and wraps it before it is to be re-thrown as an OnCompletedFailedException.
        Parameters:
        message - the message to assign to the Throwable to re-throw
        e - the Throwable to re-throw; if null, a NullPointerException is constructed