Class ErrorMapUndecodableEvent

java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.ErrorMapUndecodableEvent
All Implemented Interfaces:
Event

public class ErrorMapUndecodableEvent extends AbstractEvent
If the KV error map could be loaded, but the decoding of the buffer from JSON failed, this event will be raised.
  • Constructor Details

    • ErrorMapUndecodableEvent

      public ErrorMapUndecodableEvent(IoContext ctx, String message, String content)
      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

      public String description()
      Description copied from interface: Event
      A textual description with more information about the event.
      Returns:
      the description, if set.
    • message

      public String message()
      Returns the error message in string form.
      Returns:
      error message.
    • content

      public String content()
      Returns the content in string form.
      Returns:
      undecodable content