We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.
Package com.vaadin.flow.server
Interface StreamVariable.StreamingErrorEvent
All Superinterfaces:
All Known Implementing Classes:
Enclosing interface:
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
-