Package com.vaadin.flow.server
Interface StreamVariable.StreamingErrorEvent
- All Superinterfaces:
Serializable
,StreamVariable.StreamingEvent
- All Known Implementing Classes:
StreamingErrorEventImpl
- Enclosing interface:
- StreamVariable
Event passed to
StreamVariable.streamingFailed(StreamingErrorEvent)
method when
the streaming ended before the end of the input. The streaming may fail
due an interruption or due an other unknown exception in communication.
In the latter case the exception is also passed to
ErrorHandler.error(ErrorEvent)
.-
Method Summary
Modifier and TypeMethodDescriptionGet the exception that failed the stream.Methods inherited from interface com.vaadin.flow.server.StreamVariable.StreamingEvent
getBytesReceived, getContentLength, getFileName, getMimeType
-
Method Details
-
getException
Exception getException()Get the exception that failed the stream.- Returns:
- the exception that caused the receiving not to finish cleanly
-