Package com.vaadin.server.communication
Class FileUploadHandler.UploadInterruptedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.vaadin.server.communication.FileUploadHandler.UploadInterruptedException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- FileUploadHandler
public static class FileUploadHandler.UploadInterruptedException extends java.lang.ExceptionAn UploadInterruptedException will be thrown by an ongoing upload ifStreamVariable.isInterrupted()returnstrue. By checking the exception of anStreamVariable.StreamingErrorEventorUpload.FailedEventagainst 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.
-