Top Description Fields Constructors
rx.exceptions

public final Class OnCompletedFailedException

extends RuntimeException
Class Inheritance
Imports
rx.Subscriber

Represents an exception used to re-throw errors thrown from Subscriber#onCompleted().

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
OnCompletedFailedException(Throwable
the Throwable to re-throw; if null, a NullPointerException is constructed
throwable
)

Wraps the Throwable before it is to be re-thrown as an OnCompletedFailedException.

public
OnCompletedFailedException(String
the message to assign to the Throwable to re-throw
message
,
Throwable
the Throwable to re-throw; if null, a NullPointerException is constructed
throwable
)

Customizes the Throwable with a custom message and wraps it before it is to be re-thrown as an OnCompletedFailedException.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

OnCompletedFailedExceptionback to summary
public OnCompletedFailedException(Throwable throwable)

Wraps the Throwable before it is to be re-thrown as an OnCompletedFailedException.

Parameters
throwable:Throwable

the Throwable to re-throw; if null, a NullPointerException is constructed

OnCompletedFailedExceptionback to summary
public OnCompletedFailedException(String message, Throwable throwable)

Customizes the Throwable with a custom message and wraps it before it is to be re-thrown as an OnCompletedFailedException.

Parameters
message:String

the message to assign to the Throwable to re-throw

throwable:Throwable

the Throwable to re-throw; if null, a NullPointerException is constructed