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.communication.
Class StreamReceiverHandler.UploadInterruptedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.vaadin.flow.server.communication.StreamReceiverHandler.UploadInterruptedException
-
All Implemented Interfaces:
Enclosing class:
public static class StreamReceiverHandler.UploadInterruptedException extends Exception
An UploadInterruptedException will be thrown by an ongoing upload if
StreamVariable.isInterrupted()
returnstrue
. By checking the exception of anStreamVariable.StreamingErrorEvent
or {link FailedEvent} against this class, it is possible to determine if an upload was interrupted by code or aborted due to any other exception.See Also:
-
-
Constructor Summary
Constructors Constructor and Description UploadInterruptedException()
Constructs an instance of
UploadInterruptedException
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-