Class PushEvent.ErrorEvent<T>

java.lang.Object
org.osgi.util.pushstream.PushEvent<T>
org.osgi.util.pushstream.PushEvent.ErrorEvent<T>
Enclosing class:
PushEvent<T>

static final class PushEvent.ErrorEvent<T> extends PushEvent<T>
  • Field Details

  • Constructor Details

  • Method Details

    • getFailure

      public Throwable getFailure()
      Description copied from class: PushEvent
      Return the error that terminated the stream.
      Overrides:
      getFailure in class PushEvent<T>
      Returns:
      The error that terminated the stream.
    • getType

      public PushEvent.EventType getType()
      Description copied from class: PushEvent
      Get the type of this event.
      Specified by:
      getType in class PushEvent<T>
      Returns:
      The type of this event.