com.vaadin.server.communication
Class FileUploadHandler.UploadInterruptedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.vaadin.server.communication.FileUploadHandler.UploadInterruptedException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
FileUploadHandler

public static class FileUploadHandler.UploadInterruptedException
extends java.lang.Exception

An UploadInterruptedException will be thrown by an ongoing upload if 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.

See Also:
Serialized Form

Constructor Summary
FileUploadHandler.UploadInterruptedException()
          Constructs an instance of UploadInterruptedException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileUploadHandler.UploadInterruptedException

public FileUploadHandler.UploadInterruptedException()
Constructs an instance of UploadInterruptedException.



Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.