Class ErrorMapUndecodableEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.ErrorMapUndecodableEvent
- All Implemented Interfaces:
Event
If the KV error map could be loaded, but the decoding of the
buffer from JSON failed, this event will be raised.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Event
Event.Category, Event.Severity
-
Field Summary
Fields inherited from interface com.couchbase.client.core.cnc.Event
CATEGORY_PREFIX
-
Constructor Summary
ConstructorDescriptionErrorMapUndecodableEvent
(IoContext ctx, String message, String content) Creates a newErrorMapUndecodableEvent
. -
Method Summary
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
Constructor Details
-
ErrorMapUndecodableEvent
Creates a newErrorMapUndecodableEvent
.- Parameters:
ctx
- the io context for better logging.message
- the error message of the error.content
- the content of the undecodable map.
-
-
Method Details
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
message
Returns the error message in string form.- Returns:
- error message.
-
content
Returns the content in string form.- Returns:
- undecodable content
-