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.RuntimeException
Represents 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 long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description OnErrorNotImplementedException(@NonNull java.lang.Throwable e)
Wraps theThrowable
before it is signalled to theRxJavaPlugins.onError()
handler asOnErrorNotImplementedException
.OnErrorNotImplementedException(java.lang.String message, @NonNull java.lang.Throwable e)
Customizes theThrowable
with 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 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
public OnErrorNotImplementedException(@NonNull @NonNull java.lang.Throwable e)
Wraps theThrowable
before it is signalled to theRxJavaPlugins.onError()
handler asOnErrorNotImplementedException
.- Parameters:
e
- theThrowable
to signal; if null, a NullPointerException is constructed
-
-