Class PushEvent.ErrorEvent<T>

  • Enclosing class:
    PushEvent<T>

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

      • error

        private final java.lang.Throwable error
    • Constructor Detail

      • ErrorEvent

        ErrorEvent​(java.lang.Throwable error)
    • Method Detail

      • getFailure

        public java.lang.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.