com.vaadin.ui
Class Upload.FailedEvent
java.lang.Object
java.util.EventObject
com.vaadin.event.ConnectorEvent
com.vaadin.ui.Component.Event
com.vaadin.ui.Upload.FinishedEvent
com.vaadin.ui.Upload.FailedEvent
- All Implemented Interfaces:
- java.io.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
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
Upload.FailedEvent(Upload source,
java.lang.String filename,
java.lang.String MIMEType,
long length)
|
Upload.FailedEvent(Upload source,
java.lang.String filename,
java.lang.String MIMEType,
long length,
java.lang.Exception reason)
|
Method Summary |
java.lang.Exception |
getReason()
Gets the exception that caused the failure. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Upload.FailedEvent
public Upload.FailedEvent(Upload source,
java.lang.String filename,
java.lang.String MIMEType,
long length,
java.lang.Exception reason)
- Parameters:
source
- filename
- MIMEType
- length
- exception
-
Upload.FailedEvent
public Upload.FailedEvent(Upload source,
java.lang.String filename,
java.lang.String MIMEType,
long length)
- Parameters:
source
- filename
- MIMEType
- length
- exception
-
getReason
public java.lang.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.