public interface FileQueueErrorHandler
uploader.setFileQueueErrorEventHandler(new FileQueueErrorHandler() {
public boolean onFileQueueError(FileQueueErrorEvent event) {
Window.alert("File with name " + event.getFile().getName() + " failed in the queue due
to: " + event.getErrorCode().toString());
return true;
}
});
Note that the 'fileQueueError' event is fired for each file that was not queued after the File
Selection Dialog window is closed. A file may not be queued for several reasons such as,
the file exceeds the file size, the file is empty or a file or queue limit has been exceeded.
See the documentation on the FileQueueErrorEvent class for more details on the data
available when a file queue error event occurs.
| Modifier and Type | Method and Description |
|---|---|
boolean |
onFileQueueError(FileQueueErrorEvent fileQueueErrorEvent)
This method is fired whenever a file queue error event occurs in the Uploader component.
|
boolean onFileQueueError(FileQueueErrorEvent fileQueueErrorEvent)
FileQueueErrorEvent class for more
details on the data available when this event is fired.fileQueueErrorEvent - The details of the event that occurred.