Package rx.exceptions
Class OnErrorFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- rx.exceptions.OnErrorFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class OnErrorFailedException extends java.lang.RuntimeExceptionRepresents an exception used to re-throw errors thrown fromObserver.onError(Throwable).- See Also:
- RxJava issue #969, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description OnErrorFailedException(java.lang.String message, java.lang.Throwable e)Customizes theThrowablewith a custom message and wraps it before it is to be re-thrown as anOnErrorFailedException.OnErrorFailedException(java.lang.Throwable e)Wraps theThrowablebefore it is to be re-thrown as anOnErrorFailedException.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OnErrorFailedException
public OnErrorFailedException(java.lang.String message, java.lang.Throwable e)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
public OnErrorFailedException(java.lang.Throwable e)
Wraps theThrowablebefore it is to be re-thrown as anOnErrorFailedException.- Parameters:
e- theThrowableto re-throw; if null, a NullPointerException is constructed
-
-