|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
rx.exceptions.OnErrorNotImplementedException
public class OnErrorNotImplementedException
Used for re-throwing Observer.onError(Throwable) when an implementation doesn't exist.
https://github.com/Netflix/RxJava/issues/198
Rx Design Guidelines 5.2
"when calling the Subscribe method that only has an onNext argument, the OnError behavior will be
to rethrow the exception on the thread that the message comes out from the observable sequence.
The OnCompleted behavior in this case is to do nothing."
| Constructor Summary | |
|---|---|
OnErrorNotImplementedException(java.lang.String message,
java.lang.Throwable e)
|
|
OnErrorNotImplementedException(java.lang.Throwable e)
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OnErrorNotImplementedException(java.lang.String message,
java.lang.Throwable e)
public OnErrorNotImplementedException(java.lang.Throwable e)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||