PushEvent.CloseEvent<T>, PushEvent.DataEvent<T>, PushEvent.ErrorEvent<T>, PushEvent.EventType| Modifier and Type | Field and Description |
|---|---|
private java.lang.Throwable |
error |
| Constructor and Description |
|---|
ErrorEvent(java.lang.Throwable error) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getFailure()
Return the error that terminated the stream.
|
PushEvent.EventType |
getType()
Get the type of this event.
|
public java.lang.Throwable getFailure()
PushEventgetFailure in class PushEvent<T>public PushEvent.EventType getType()
PushEvent