RxJava



rx.plugins
Class RxJavaErrorHandler

java.lang.Object
  extended by 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(Exception) behavior.

For example, all Exceptions can be logged using this handler even if Observer.onError(Exception) 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.


Constructor Summary
RxJavaErrorHandler()
           
 
Method Summary
 void handleError(java.lang.Exception e)
          Receives all Exceptions from an Observable passed to Observer.onError(Exception).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RxJavaErrorHandler

public RxJavaErrorHandler()
Method Detail

handleError

public void handleError(java.lang.Exception e)
Receives all Exceptions from an Observable passed to Observer.onError(Exception).

Parameters:
e - Exception