public class AnalyticsException extends CouchbaseException
Check errors() for further details.
| Modifier | Constructor and Description |
|---|---|
protected |
AnalyticsException(AnalyticsException cause) |
|
AnalyticsException(byte[] content) |
|
AnalyticsException(byte[] content,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
content() |
List<ErrorCodeAndMessage> |
errors()
Returns the full list of errors and warnings associated with the exception.
|
boolean |
hasErrorCode(int code) |
context, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprotected AnalyticsException(AnalyticsException cause)
public AnalyticsException(byte[] content)
public AnalyticsException(byte[] content,
Throwable cause)
@Stability.Internal public byte[] content()
public List<ErrorCodeAndMessage> errors()
public boolean hasErrorCode(int code)
Copyright © 2021 Couchbase, Inc.. All rights reserved.