com.vaadin.flow.server.communication.

Class 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 if StreamVariable.isInterrupted() returns true. By checking the exception of an StreamVariable.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:

    Serialized Form

    • Constructor Detail

      • UploadInterruptedException

        public UploadInterruptedException()

        Constructs an instance of UploadInterruptedException.