Package org.vaadin.firitin.components
Class DynamicFileDownloader.DownloadFailedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<DynamicFileDownloader>
org.vaadin.firitin.components.DynamicFileDownloader.DownloadFailedEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DynamicFileDownloader
public static class DynamicFileDownloader.DownloadFailedEvent
extends com.vaadin.flow.component.ComponentEvent<DynamicFileDownloader>
Event fired when the file download fails.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionDownloadFailedEvent
(DynamicFileDownloader source, Exception e) Creates a new event using the given source and indicator whether the event originated from the client side or the server side. -
Method Summary
Modifier and TypeMethodDescriptionGets the exception that caused the download to fail.Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
DownloadFailedEvent
Creates a new event using the given source and indicator whether the event originated from the client side or the server side.- Parameters:
source
- the source componente
- the exception
-
-
Method Details
-
getException
Gets the exception that caused the download to fail.- Returns:
- the exception
-