public final class OnCompletedFailedException extends RuntimeException
Observer.onCompleted()
.Constructor and Description |
---|
OnCompletedFailedException(String message,
Throwable throwable)
Customizes the
Throwable with a custom message and wraps it before it is to be re-thrown as an
OnCompletedFailedException . |
OnCompletedFailedException(Throwable throwable)
Wraps the
Throwable before it is to be re-thrown as an OnCompletedFailedException . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OnCompletedFailedException(Throwable throwable)
Throwable
before it is to be re-thrown as an OnCompletedFailedException
.throwable
- the Throwable
to re-throw; if null, a NullPointerException is constructedpublic OnCompletedFailedException(String message, Throwable throwable)
Throwable
with a custom message and wraps it before it is to be re-thrown as an
OnCompletedFailedException
.message
- the message to assign to the Throwable
to re-throwthrowable
- the Throwable
to re-throw; if null, a NullPointerException is constructedCopyright © 2018. All rights reserved.