public final class OnCompletedFailedException
extends java.lang.RuntimeException
Observer.onCompleted()
.Constructor and Description |
---|
OnCompletedFailedException(java.lang.String message,
java.lang.Throwable throwable)
Customizes the
Throwable with a custom message and wraps it before it is to be re-thrown as an
OnCompletedFailedException . |
OnCompletedFailedException(java.lang.Throwable throwable)
Wraps the
Throwable before it is to be re-thrown as an OnCompletedFailedException . |
public OnCompletedFailedException(java.lang.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(java.lang.String message, java.lang.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 constructed