Class FileUploadFailedEvent<C extends com.vaadin.flow.component.Component>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<C>
io.jmix.flowui.kit.component.upload.event.FileUploadFinishedEvent<C>
io.jmix.flowui.kit.component.upload.event.FileUploadFailedEvent<C>
- Type Parameters:
- C- type of upload field
- All Implemented Interfaces:
- Serializable
public class FileUploadFailedEvent<C extends com.vaadin.flow.component.Component>
extends FileUploadFinishedEvent<C>
Event is fired when 
FailedEvent of Upload is occurred. See
 Upload.addFailedListener(ComponentEventListener) for details.- See Also:
- 
- FailedEvent
- Serialized Form
 
- 
Field SummaryFieldsFields inherited from class io.jmix.flowui.kit.component.upload.event.FileUploadFinishedEventfileName, length, mimeTypeFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionFileUploadFailedEvent(C source, String fileName, String mimeType, long length, Exception reason) 
- 
Method SummaryMethods inherited from class io.jmix.flowui.kit.component.upload.event.FileUploadFinishedEventgetFileName, getMimeTypeMethods inherited from class com.vaadin.flow.component.ComponentEventgetSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObjecttoString
- 
Field Details- 
reason
 
- 
- 
Constructor Details- 
FileUploadFailedEvent
 
- 
- 
Method Details- 
getReason- Returns:
- the exception that caused the failure, or nullotherwise
 
- 
getContentLengthpublic long getContentLength()- Overrides:
- getContentLengthin class- FileUploadFinishedEvent<C extends com.vaadin.flow.component.Component>
- Returns:
- the number of uploaded bytes
 
 
-