Class UnsubscribeFailedException

    • Constructor Detail

      • UnsubscribeFailedException

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

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