public final class

OnErrorNotImplementedException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ io.reactivex.exceptions.OnErrorNotImplementedException

Class Overview

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

Summary

Public Constructors
OnErrorNotImplementedException(String message, Throwable e)
Customizes the Throwable with a custom message and wraps it before it is signalled to the RxJavaPlugins.onError() handler as OnErrorNotImplementedException.
OnErrorNotImplementedException(Throwable e)
Wraps the Throwable before it is signalled to the RxJavaPlugins.onError() handler as OnErrorNotImplementedException.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public OnErrorNotImplementedException (String message, Throwable e)

Customizes the Throwable with a custom message and wraps it before it is signalled to the RxJavaPlugins.onError() handler as OnErrorNotImplementedException.

Parameters
message the message to assign to the Throwable to signal
e the Throwable to signal; if null, a NullPointerException is constructed

public OnErrorNotImplementedException (Throwable e)

Wraps the Throwable before it is signalled to the RxJavaPlugins.onError() handler as OnErrorNotImplementedException.

Parameters
e the Throwable to signal; if null, a NullPointerException is constructed