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