Package rx.exceptions
Class OnErrorFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
rx.exceptions.OnErrorFailedException
- All Implemented Interfaces:
Serializable
Represents an exception used to re-throw errors thrown from
Observer.onError(Throwable).
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOnErrorFailedException(String message, Throwable e) Customizes theThrowablewith a custom message and wraps it before it is to be re-thrown as anOnErrorFailedException.Wraps theThrowablebefore it is to be re-thrown as anOnErrorFailedException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
OnErrorFailedException
Customizes theThrowablewith a custom message and wraps it before it is to be re-thrown as anOnErrorFailedException.- Parameters:
message- the message to assign to theThrowableto re-throwe- theThrowableto re-throw; if null, a NullPointerException is constructed
-
OnErrorFailedException
Wraps theThrowablebefore it is to be re-thrown as anOnErrorFailedException.- Parameters:
e- theThrowableto re-throw; if null, a NullPointerException is constructed
-