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:
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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWraps theThrowable
before it is signalled to theRxJavaPlugins.onError()
handler asOnErrorNotImplementedException
.OnErrorNotImplementedException
(String message, @NonNull Throwable e) Customizes theThrowable
with a custom message and wraps it before it is signalled to theRxJavaPlugins.onError()
handler asOnErrorNotImplementedException
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
OnErrorNotImplementedException
Customizes theThrowable
with a custom message and wraps it before it is signalled to theRxJavaPlugins.onError()
handler asOnErrorNotImplementedException
.- Parameters:
message
- the message to assign to theThrowable
to signale
- theThrowable
to signal; if null, a NullPointerException is constructed
-
OnErrorNotImplementedException
Wraps theThrowable
before it is signalled to theRxJavaPlugins.onError()
handler asOnErrorNotImplementedException
.- Parameters:
e
- theThrowable
to signal; if null, a NullPointerException is constructed
-