We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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:
Direct Known Subclasses:
Enclosing class:
- extends Upload.FinishedEvent
public static class Upload.FailedEvent
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:
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
Upload.FailedEvent(Upload source,
String filename,
String MIMEType,
long length)
|
|
Upload.FailedEvent(Upload source,
String filename,
String MIMEType,
long length,
Exception reason)
|
Method Summary | |
---|---|
Exception |
getReason()
Gets the exception that caused the failure. |
Methods inherited from class com.vaadin.ui.Upload.FinishedEvent |
---|
getFilename, getLength, getMIMEType, getUpload |
Methods inherited from class com.vaadin.ui.Component.Event |
---|
getComponent |
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 |
Constructor Detail |
---|
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
-
Method Detail |
---|
getReason
public Exception getReason()
- Returns:
- the exception that caused the failure, null if n/a
Gets the exception that caused the failure.