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 theThrowable
with a custom message and wraps it before it is to be re-thrown as anOnErrorFailedException
.Wraps theThrowable
before 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 theThrowable
with a custom message and wraps it before it is to be re-thrown as anOnErrorFailedException
.- Parameters:
message
- the message to assign to theThrowable
to re-throwe
- theThrowable
to re-throw; if null, a NullPointerException is constructed
-
OnErrorFailedException
Wraps theThrowable
before it is to be re-thrown as anOnErrorFailedException
.- Parameters:
e
- theThrowable
to re-throw; if null, a NullPointerException is constructed
-