Class ErrorContext
java.lang.Object
com.couchbase.client.core.cnc.AbstractContext
com.couchbase.client.core.error.context.ErrorContext
- All Implemented Interfaces:
Context
- Direct Known Subclasses:
AggregateErrorContext
,AnalyticsErrorContext
,CancellationErrorContext
,EventingErrorContext
,GenericErrorContext
,GenericRequestErrorContext
,KeyValueErrorContext
,KeyValueIoErrorContext
,ManagerErrorContext
,QueryErrorContext
,ReducedAnalyticsErrorContext
,ReducedKeyValueErrorContext
,ReducedQueryErrorContext
,ReducedSearchErrorContext
,ReducedViewErrorContext
,SearchErrorContext
,SubDocumentErrorContext
,ViewErrorContext
The ErrorContext is the parent interface for all service-specific error contexts that are thrown as part of
the
CouchbaseException
.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Context
Context.ExportFormat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
injectExportableParams
(Map<String, Object> input) This method needs to be implemented by the actual context implementations to inject the params they need for exporting.Methods inherited from class com.couchbase.client.core.cnc.AbstractContext
exportAsMap, exportAsString, toString
-
Constructor Details
-
ErrorContext
-
-
Method Details
-
responseStatus
-
injectExportableParams
Description copied from class:AbstractContext
This method needs to be implemented by the actual context implementations to inject the params they need for exporting.- Overrides:
injectExportableParams
in classAbstractContext
- Parameters:
input
- pass exportable params in here.
-