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.Throwable
error
-
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.Throwable
getFailure()
Return the error that terminated the stream.PushEvent.EventType
getType()
Get the type of this event.
-
-
-
Method Detail
-
getFailure
public java.lang.Throwable getFailure()
Description copied from class:PushEvent
Return the error that terminated the stream.- Overrides:
getFailure
in classPushEvent<T>
- Returns:
- The error that terminated the stream.
-
getType
public PushEvent.EventType getType()
Description copied from class:PushEvent
Get the type of this event.
-
-