Class UnexpectedEndpointConnectionFailedEvent

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

public class UnexpectedEndpointConnectionFailedEvent extends AbstractEvent
During connecting to an endpoint, an exception/error was raised which was not expected. This should be reported as a bug.
Since:
2.0.0
  • Constructor Details

    • UnexpectedEndpointConnectionFailedEvent

      public UnexpectedEndpointConnectionFailedEvent(Duration duration, Context context, Throwable cause)
  • Method Details

    • cause

      public Throwable cause()
      The cause of the unexpected connecting error.
      Returns:
      the cause.
    • description

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