public class CouchbaseException extends RuntimeException
Constructor and Description |
---|
CouchbaseException()
Deprecated.
|
CouchbaseException(String message) |
CouchbaseException(String message,
ErrorContext ctx) |
CouchbaseException(String message,
Throwable cause) |
CouchbaseException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStacktrace,
ErrorContext ctx) |
CouchbaseException(String message,
Throwable cause,
ErrorContext ctx) |
CouchbaseException(Throwable cause)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ErrorContext |
context()
Returns the error context, if present.
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@Deprecated public CouchbaseException()
@Deprecated public CouchbaseException(Throwable cause)
public CouchbaseException(String message)
public CouchbaseException(String message, ErrorContext ctx)
@Stability.Internal public CouchbaseException(String message, Throwable cause, boolean enableSuppression, boolean writableStacktrace, ErrorContext ctx)
public CouchbaseException(String message, Throwable cause, ErrorContext ctx)
public final String getMessage()
getMessage
in class Throwable
@Stability.Uncommitted public ErrorContext context()
Copyright © 2024 Couchbase, Inc.. All rights reserved.