Package rx.exceptions

Class OnErrorFailedException

All Implemented Interfaces:
Serializable

public class OnErrorFailedException extends RuntimeException
Represents an exception used to re-throw errors thrown from Observer.onError(Throwable).

See Also:
  • Field Details

  • Constructor Details

    • OnErrorFailedException

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

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