Class SearchErrorContext
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractContext
-
- com.couchbase.client.core.error.context.ErrorContext
-
- com.couchbase.client.core.error.context.SearchErrorContext
-
- All Implemented Interfaces:
Context
@Uncommitted public class SearchErrorContext extends ErrorContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Context
Context.ExportFormat
-
-
Constructor Summary
Constructors Constructor Description SearchErrorContext(ResponseStatus responseStatus, RequestContext requestContext, int httpStatus, String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
content()
int
httpStatus()
void
injectExportableParams(Map<String,Object> input)
This method needs to be implemented by the actual context implementations to inject the params they need for exporting.RequestContext
requestContext()
-
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
-
SearchErrorContext
public SearchErrorContext(ResponseStatus responseStatus, RequestContext requestContext, int httpStatus, String content)
-
-
Method Detail
-
requestContext
public RequestContext requestContext()
-
httpStatus
public int httpStatus()
-
content
public String content()
-
injectExportableParams
public void injectExportableParams(Map<String,Object> input)
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 classErrorContext
- Parameters:
input
- pass exportable params in here.
-
-