public class RequestCanceledException extends CouchbaseException
| Constructor and Description |
|---|
RequestCanceledException(String message,
CancellationReason reason,
CancellationErrorContext ctx) |
RequestCanceledException(String message,
CancellationReason reason,
Throwable cause,
CancellationErrorContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
CancellationErrorContext |
context()
Returns the error context, if present.
|
CancellationReason |
reason() |
static RequestCanceledException |
shuttingDown(AbstractContext context) |
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RequestCanceledException(String message, CancellationReason reason, CancellationErrorContext ctx)
@Stability.Internal public RequestCanceledException(String message, CancellationReason reason, Throwable cause, CancellationErrorContext ctx)
public static RequestCanceledException shuttingDown(AbstractContext context)
@Stability.Uncommitted public CancellationErrorContext context()
CouchbaseExceptioncontext in class CouchbaseException@Stability.Uncommitted public CancellationReason reason()
Copyright © 2024 Couchbase, Inc.. All rights reserved.