Package com.couchbase.client.core.error
Class RequestCanceledException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.client.core.error.CouchbaseException
com.couchbase.client.core.error.RequestCanceledException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRequestCanceledException(String message, CancellationReason reason, CancellationErrorContext ctx) RequestCanceledException(String message, CancellationReason reason, Throwable cause, CancellationErrorContext ctx) -
Method Summary
Modifier and TypeMethodDescriptioncontext()Returns the error context, if present.reason()static RequestCanceledExceptionshuttingDown(AbstractContext context) Methods inherited from class com.couchbase.client.core.error.CouchbaseException
getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestCanceledException
public RequestCanceledException(String message, CancellationReason reason, CancellationErrorContext ctx) -
RequestCanceledException
@Internal public RequestCanceledException(String message, CancellationReason reason, Throwable cause, CancellationErrorContext ctx)
-
-
Method Details
-
shuttingDown
-
context
Description copied from class:CouchbaseExceptionReturns the error context, if present.- Overrides:
contextin classCouchbaseException
-
reason
-