Class StreamReceiverHandler.UploadInterruptedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.vaadin.flow.server.communication.StreamReceiverHandler.UploadInterruptedException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- StreamReceiverHandler
public static class StreamReceiverHandler.UploadInterruptedException extends Exception
An UploadInterruptedException will be thrown by an ongoing upload ifStreamVariable.isInterrupted()returnstrue.By checking the exception of an
StreamVariable.StreamingErrorEventor {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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UploadInterruptedException()Constructs an instance ofUploadInterruptedException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-