Package io.jmix.ui.widget
Class JmixFileUpload.FailedEvent
java.lang.Object
java.util.EventObject
com.vaadin.event.ConnectorEvent
com.vaadin.ui.Component.Event
io.jmix.ui.widget.JmixFileUpload.FinishedEvent
io.jmix.ui.widget.JmixFileUpload.FailedEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JmixFileUpload.NoInputStreamEvent
,JmixFileUpload.NoOutputStreamEvent
- Enclosing class:
- JmixFileUpload
JmixFileUpload.FailedEvent event is sent when the upload is received, but the reception is interrupted for some
reason.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionFailedEvent
(JmixFileUpload source, String fileName, String MIMEType, long length) FailedEvent
(JmixFileUpload source, String fileName, String MIMEType, long length, Exception reason) -
Method Summary
Methods inherited from class io.jmix.ui.widget.JmixFileUpload.FinishedEvent
getContentLength, getFileName, getMIMEType, getUpload
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
FailedEvent
public FailedEvent(JmixFileUpload source, String fileName, String MIMEType, long length, Exception reason) -
FailedEvent
-
-
Method Details
-
getReason
Gets the exception that caused the failure.- Returns:
- the exception that caused the failure, null if n/a
-