public abstract class RxJavaErrorHandler extends Object
Observer.onError(Throwable) behavior.
For example, all Exceptions can be logged using this handler even if Observer is ignored or not provided when an Observable is subscribed to.
See RxJavaPlugins or the RxJava GitHub Wiki for information on configuring plugins: https://github.com/ReactiveX/RxJava/wiki/Plugins.
| Constructor and Description |
|---|
RxJavaErrorHandler()
|
public void handleError(Throwablee)
Exceptions from an
Observable passed to
Observer.onError(Throwable) .
This should never throw an Exception. Make sure to try/catch(Throwable) all code inside this method implementation.
e - the
Exception