RxJava
rx.plugins
Class RxJavaErrorHandler
java.lang.Object
rx.plugins.RxJavaErrorHandler
public abstract class RxJavaErrorHandler
- extends java.lang.Object
Abstract class for defining error handling logic in addition to the normal Observer.onError(Throwable) behavior.
For example, all Exceptions can be logged using this handler even if Observer.onError(Throwable) 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/Netflix/RxJava/wiki/Plugins.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RxJavaErrorHandler
public RxJavaErrorHandler()
handleError
public void handleError(java.lang.Throwable e)
- Receives all Exceptions from an
Observable passed to Observer.onError(Throwable).
- Parameters:
e - Exception