com.h3c.of.ctl

## Interface ErrorEvent

- All Superinterfaces:
    Event, OpenflowEvent, TypedEvent<OpenflowEventType>

      public interface ErrorEvent
      extends OpenflowEvent

  An OpenFlow Controller Error event. These events are consumed by listeners who have only an indirect link to a controller service, and need to be informed of an exception thrown within controller code from a call made on their behalf.

  For example, the `SequencedPacketListener` only gets to instruct the controller to send a Packet-Out message indirectly, via the boolean return value from its `event()` callback. If an error occurs during the send, the `PacketSequencer` will inform the packet listener of the error via its `errorEvent()` callback.

  The event types associated with this event are:

  - `OpenflowEventType.ERROR`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Throwable` | `cause()` Returns the cause of the error.
    `Object` | `context()` Returns an object that provides the context of the error.
    `String` | `text()` Returns a text message describing the error.

    - ### Methods inherited from interface com.h3c.util.event.TypedEvent

      `ts, type`

- - ### Method Detail

    - #### text

          String text()

      Returns a text message describing the error.
      Returns:
        the error message

    - #### cause

          Throwable cause()

      Returns the cause of the error.
      Returns:
        the cause

    - #### context

          Object context()

      Returns an object that provides the context of the error.
      Returns:
        the context

Copyright © 2014. All Rights Reserved.