Top Description Fields Constructors
rx.exceptions

public Class OnErrorFailedException

extends RuntimeException
Class Inheritance
Imports
rx.Subscriber

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

See Also
RxJava issue #969

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
OnErrorFailedException(String
the message to assign to the Throwable to re-throw
message
,
Throwable
the Throwable to re-throw; if null, a NullPointerException is constructed
e
)

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

public
OnErrorFailedException(Throwable
the Throwable to re-throw; if null, a NullPointerException is constructed
e
)

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

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

OnErrorFailedExceptionback to summary
public OnErrorFailedException(String message, Throwable e)

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

Parameters
message:String

the message to assign to the Throwable to re-throw

e:Throwable

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

OnErrorFailedExceptionback to summary
public OnErrorFailedException(Throwable e)

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

Parameters
e:Throwable

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