com.vaadin.terminal
Interface StreamVariable.StreamingErrorEvent

All Superinterfaces:
Serializable, StreamVariable.StreamingEvent
Enclosing interface:
StreamVariable

public static interface StreamVariable.StreamingErrorEvent
extends StreamVariable.StreamingEvent

Event passed to #uploadFailed(StreamingErrorEvent) method when the streaming ended before the end of the input. The streaming may fail due an interruption by or due an other unknown exception in communication. In the latter case the exception is also passed to Application.terminalError(com.vaadin.terminal.Terminal.ErrorEvent) .


Method Summary
 Exception getException()
           
 
Methods inherited from interface com.vaadin.terminal.StreamVariable.StreamingEvent
getBytesReceived, getContentLength, getFileName, getMimeType
 

Method Detail

getException

Exception getException()
Returns:
the exception that caused the receiving not to finish cleanly


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