public static class FileUploadHandler.UploadInterruptedException extends Exception
StreamVariable.isInterrupted()
returns true
.
By checking the exception of an StreamVariable.StreamingErrorEvent
or
Upload.FailedEvent
against this class, it is possible to determine if an
upload was interrupted by code or aborted due to any other exception.Constructor and Description |
---|
UploadInterruptedException()
Constructs an instance of
UploadInterruptedException . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2021 Vaadin Ltd. All rights reserved.