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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the error that terminated the stream.getType()
Get the type of this event.
-
Field Details
-
error
-
-
Constructor Details
-
ErrorEvent
ErrorEvent(Throwable error)
-
-
Method Details
-
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
Description copied from class:PushEvent
Get the type of this event.
-