Class GenericFailureDetectedEvent

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

public class GenericFailureDetectedEvent extends AbstractEvent
  • Constructor Details

    • GenericFailureDetectedEvent

      public GenericFailureDetectedEvent(Context context, Throwable throwable)
  • Method Details

    • cause

      public Throwable cause()
      Description copied from interface: Event
      If present, holds the cause for this event. Usually present if raised because of an excetion.
      Returns:
      the throwable if present.
    • description

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