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.RuntimeException
Represents 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 long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description OnErrorFailedException(java.lang.String message, java.lang.Throwable e)
Customizes theThrowable
with a custom message and wraps it before it is to be re-thrown as anOnErrorFailedException
.OnErrorFailedException(java.lang.Throwable e)
Wraps theThrowable
before 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 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
public OnErrorFailedException(java.lang.Throwable e)
Wraps theThrowable
before it is to be re-thrown as anOnErrorFailedException
.- Parameters:
e
- theThrowable
to re-throw; if null, a NullPointerException is constructed
-
-