Package io.reactivex.rxjava3.exceptions
Class OnErrorNotImplementedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException
-
- All Implemented Interfaces:
java.io.Serializable
public final class OnErrorNotImplementedException extends java.lang.RuntimeExceptionRepresents an exception used to signal to theRxJavaPlugins.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
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description OnErrorNotImplementedException(@NonNull java.lang.Throwable e)Wraps theThrowablebefore it is signalled to theRxJavaPlugins.onError()handler asOnErrorNotImplementedException.OnErrorNotImplementedException(java.lang.String message, @NonNull java.lang.Throwable e)Customizes theThrowablewith a custom message and wraps it before it is signalled to theRxJavaPlugins.onError()handler asOnErrorNotImplementedException.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OnErrorNotImplementedException
public OnErrorNotImplementedException(java.lang.String message, @NonNull @NonNull java.lang.Throwable e)Customizes theThrowablewith a custom message and wraps it before it is signalled to theRxJavaPlugins.onError()handler asOnErrorNotImplementedException.- Parameters:
message- the message to assign to theThrowableto signale- theThrowableto signal; if null, a NullPointerException is constructed
-
OnErrorNotImplementedException
public OnErrorNotImplementedException(@NonNull @NonNull java.lang.Throwable e)
Wraps theThrowablebefore it is signalled to theRxJavaPlugins.onError()handler asOnErrorNotImplementedException.- Parameters:
e- theThrowableto signal; if null, a NullPointerException is constructed
-
-