com.vaadin.ui
Class Upload.FailedEvent
java.lang.Object
java.util.EventObject
com.vaadin.ui.Component.Event
com.vaadin.ui.Upload.FinishedEvent
com.vaadin.ui.Upload.FailedEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Upload.NoInputStreamEvent, Upload.NoOutputStreamEvent
- Enclosing class:
- Upload
public static class Upload.FailedEvent
- extends Upload.FinishedEvent
Upload.FailedEvent event is sent when the upload is received, but the
reception is interrupted for some reason.
- Since:
- 3.0
- Version:
- 6.8.18
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
Upload.FailedEvent
public Upload.FailedEvent(Upload source,
String filename,
String MIMEType,
long length,
Exception reason)
- Parameters:
source
- filename
- MIMEType
- length
- exception
-
Upload.FailedEvent
public Upload.FailedEvent(Upload source,
String filename,
String MIMEType,
long length)
- Parameters:
source
- filename
- MIMEType
- length
- exception
-
getReason
public Exception getReason()
- Gets the exception that caused the failure.
- Returns:
- the exception that caused the failure, null if n/a
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.