public final class CancelledSubscriptionException extends RuntimeException
RuntimeException that is raised to notify StreamMessage.whenComplete() when a
Subscriber has cancelled its Subscription.| Modifier and Type | Method and Description |
|---|---|
static CancelledSubscriptionException |
get()
Returns a
CancelledSubscriptionException which may be a singleton or a new instance, depending
on Flags.verboseExceptionSampler()'s decision. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static CancelledSubscriptionException get()
CancelledSubscriptionException which may be a singleton or a new instance, depending
on Flags.verboseExceptionSampler()'s decision.Copyright © 2020 LeanCloud. All rights reserved.