Package org.osgi.util.pushstream
Class PushEvent.ErrorEvent<T>
- java.lang.Object
-
- org.osgi.util.pushstream.PushEvent<T>
-
- org.osgi.util.pushstream.PushEvent.ErrorEvent<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.osgi.util.pushstream.PushEvent
PushEvent.CloseEvent<T>, PushEvent.DataEvent<T>, PushEvent.ErrorEvent<T>, PushEvent.EventType
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Throwableerror
-
Constructor Summary
Constructors Constructor Description ErrorEvent(java.lang.Throwable error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetFailure()Return the error that terminated the stream.PushEvent.EventTypegetType()Get the type of this event.
-
-
-
Method Detail
-
getFailure
public java.lang.Throwable getFailure()
Description copied from class:PushEventReturn the error that terminated the stream.- Overrides:
getFailurein classPushEvent<T>- Returns:
- The error that terminated the stream.
-
getType
public PushEvent.EventType getType()
Description copied from class:PushEventGet the type of this event.
-
-