Top Description Fields Constructors
io.reactivex.exceptions

public final Class OnErrorNotImplementedException

extends RuntimeException
Class Inheritance
Imports
io.reactivex.annotations.*

Represents an exception used to signal to the RxJavaPlugins.onError() that a callback-based subscribe() method on a base reactive type didn't specify an onError handler.

History: 2.0.6 - experimental; 2.1 - beta

Since
2.2

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
OnErrorNotImplementedException(String
the message to assign to the Throwable to signal
message
,
Throwable
the Throwable to signal; if null, a NullPointerException is constructed
e
)

Customizes the Throwable with a custom message and wraps it before it is signalled to the RxJavaPlugins.onError() handler as OnErrorNotImplementedException.

public
OnErrorNotImplementedException(Throwable
the Throwable to signal; if null, a NullPointerException is constructed
e
)

Wraps the Throwable before it is signalled to the RxJavaPlugins.onError() handler as OnErrorNotImplementedException.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

OnErrorNotImplementedExceptionback to summary
public OnErrorNotImplementedException(String message, Throwable e)

Customizes the Throwable with a custom message and wraps it before it is signalled to the RxJavaPlugins.onError() handler as OnErrorNotImplementedException.

Parameters
message:String

the message to assign to the Throwable to signal

e:Throwable

the Throwable to signal; if null, a NullPointerException is constructed

OnErrorNotImplementedExceptionback to summary
public OnErrorNotImplementedException(Throwable e)

Wraps the Throwable before it is signalled to the RxJavaPlugins.onError() handler as OnErrorNotImplementedException.

Parameters
e:Throwable

the Throwable to signal; if null, a NullPointerException is constructed