Class GenericErrorContext
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractContext
-
- com.couchbase.client.core.error.context.ErrorContext
-
- com.couchbase.client.core.error.context.GenericErrorContext
-
- All Implemented Interfaces:
Context
@Volatile public class GenericErrorContext extends ErrorContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Context
Context.ExportFormat
-
-
Constructor Summary
Constructors Constructor Description GenericErrorContext(Map<String,Object> input, AbstractContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinjectExportableParams(Map<String,Object> input)This method needs to be implemented by the actual context implementations to inject the params they need for exporting.voidput(String key, Object value)-
Methods inherited from class com.couchbase.client.core.error.context.ErrorContext
responseStatus
-
Methods inherited from class com.couchbase.client.core.cnc.AbstractContext
exportAsMap, exportAsString, toString
-
-
-
-
Constructor Detail
-
GenericErrorContext
public GenericErrorContext(Map<String,Object> input, @Nullable AbstractContext ctx)
-
-
Method Detail
-
injectExportableParams
public void injectExportableParams(Map<String,Object> input)
Description copied from class:AbstractContextThis method needs to be implemented by the actual context implementations to inject the params they need for exporting.- Overrides:
injectExportableParamsin classErrorContext- Parameters:
input- pass exportable params in here.
-
-