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.RuntimeExceptionRepresents an exception used to re-throw errors thrown fromObserver.onCompleted().- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description OnCompletedFailedException(java.lang.String message, java.lang.Throwable throwable)Customizes theThrowablewith a custom message and wraps it before it is to be re-thrown as anOnCompletedFailedException.OnCompletedFailedException(java.lang.Throwable throwable)Wraps theThrowablebefore 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 theThrowablebefore it is to be re-thrown as anOnCompletedFailedException.- Parameters:
throwable- theThrowableto re-throw; if null, a NullPointerException is constructed
-
OnCompletedFailedException
public OnCompletedFailedException(java.lang.String message, java.lang.Throwable throwable)Customizes theThrowablewith a custom message and wraps it before it is to be re-thrown as anOnCompletedFailedException.- Parameters:
message- the message to assign to theThrowableto re-throwthrowable- theThrowableto re-throw; if null, a NullPointerException is constructed
-
-