public class OnErrorNotImplementedException extends RuntimeException
Observer.onError(Throwable) when an implementation doesn't exist.
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 and Description |
|---|
OnErrorNotImplementedException(String
Customizes the
Throwable with a custom message and wraps it before it is to be re-thrown as an
OnErrorNotImplementedException.
|
OnErrorNotImplementedException(Throwable
Wraps the
Throwable before it is to be re-thrown as an
OnErrorNotImplementedException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OnErrorNotImplementedException(Stringmessage, Throwable e)
Throwable with a custom message and wraps it before it is to be re-thrown as an
OnErrorNotImplementedException.
message - the message to assign to the
Throwable to re-throw
e - the
Throwable to re-throw
public OnErrorNotImplementedException(Throwablee)
Throwable before it is to be re-thrown as an
OnErrorNotImplementedException.
e - the
Throwable to re-throw