public final class OnErrorNotImplementedException extends RuntimeException
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
Constructor and Description |
---|
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 . |
OnErrorNotImplementedException(@NonNull Throwable e)
Wraps the
Throwable before it
is signalled to the RxJavaPlugins.onError()
handler as OnErrorNotImplementedException . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OnErrorNotImplementedException(String message, @NonNull @NonNull Throwable e)
Throwable
with a custom message and wraps it before it
is signalled to the RxJavaPlugins.onError()
handler as OnErrorNotImplementedException
.message
- the message to assign to the Throwable
to signale
- the Throwable
to signal; if null, a NullPointerException is constructedpublic OnErrorNotImplementedException(@NonNull @NonNull Throwable e)
Throwable
before it
is signalled to the RxJavaPlugins.onError()
handler as OnErrorNotImplementedException
.e
- the Throwable
to signal; if null, a NullPointerException is constructed