Top Description Fields Constructors
io.reactivex.rxjava3.exceptions

public final Class OnErrorNotImplementedException

extends RuntimeException
Class Inheritance
Imports
io.reactivex.rxjava3.annotations.NonNull

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
,
@NonNull 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(@NonNull 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, @NonNull 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:@NonNull Throwable

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

OnErrorNotImplementedExceptionback to summary
public OnErrorNotImplementedException(@NonNull Throwable e)

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

Parameters
e:@NonNull Throwable

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