Class OnErrorNotImplementedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.reactivex.rxjava4.exceptions.OnErrorNotImplementedException
- All Implemented Interfaces:
Serializable
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
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWraps theThrowablebefore it is signalled to theRxJavaPlugins.onError()handler asOnErrorNotImplementedException.OnErrorNotImplementedException(String message, @NonNull Throwable e) Customizes theThrowablewith a custom message and wraps it before it is signalled to theRxJavaPlugins.onError()handler asOnErrorNotImplementedException. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OnErrorNotImplementedException
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
-