]> source.dussan.org Git - vaadin-framework.git/commit
Make UploadInterruptedException visible (#12070)
authorFabian Lange <lange.fabian@gmail.com>
Thu, 13 Jun 2013 12:51:08 +0000 (14:51 +0200)
committerVaadin Code Review <review@vaadin.com>
Tue, 9 Jul 2013 08:23:56 +0000 (08:23 +0000)
commit775c9693e0778894498ff45cac4512fa69e8cb3d
tree76c8bd2f68e1d77dbafe8725eaa73c0f8346bc86
parent4a04f0068793428484b7afdc245ae766b13439f5
Make UploadInterruptedException visible (#12070)

When another threads interrupts the Upload, the UploadInterruptedException is
thrown. The respective StreamVariable will receive
streamingFailed(StreamingErrorEvent event) which contains the causing exception
via event.getException(). When the UploadInterruptedException is not public, it
is impossible to react on it in the StreamVariable (e.g. treating an
IOException differently from an UploadInterruptedException).

Change-Id: I9098e70e6750c420fcc0978340544e545e237b26
server/src/com/vaadin/server/communication/FileUploadHandler.java