Top Description Fields Constructors
rx.exceptions

public final Class UnsubscribeFailedException

extends RuntimeException
Class Inheritance
Imports
rx.Subscriber

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

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
UnsubscribeFailedException(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 OnErrorFailedException.

public
UnsubscribeFailedException(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 UnsubscribeFailedException.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

UnsubscribeFailedExceptionback to summary
public UnsubscribeFailedException(Throwable throwable)

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

Parameters
throwable:Throwable

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

UnsubscribeFailedExceptionback to summary
public UnsubscribeFailedException(String message, Throwable throwable)

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

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