Package rx.exceptions
Class OnCompletedFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- rx.exceptions.OnCompletedFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public final class OnCompletedFailedException extends java.lang.RuntimeException
Represents an exception used to re-throw errors thrown fromObserver.onCompleted()
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description OnCompletedFailedException(java.lang.String message, java.lang.Throwable throwable)
Customizes theThrowable
with a custom message and wraps it before it is to be re-thrown as anOnCompletedFailedException
.OnCompletedFailedException(java.lang.Throwable throwable)
Wraps theThrowable
before it is to be re-thrown as anOnCompletedFailedException
.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OnCompletedFailedException
public OnCompletedFailedException(java.lang.Throwable throwable)
Wraps theThrowable
before it is to be re-thrown as anOnCompletedFailedException
.- Parameters:
throwable
- theThrowable
to re-throw; if null, a NullPointerException is constructed
-
OnCompletedFailedException
public OnCompletedFailedException(java.lang.String message, java.lang.Throwable throwable)
Customizes theThrowable
with a custom message and wraps it before it is to be re-thrown as anOnCompletedFailedException
.- Parameters:
message
- the message to assign to theThrowable
to re-throwthrowable
- theThrowable
to re-throw; if null, a NullPointerException is constructed
-
-