com.itmill.toolkit.ui
Class Upload.FailedEvent
java.lang.Object
java.util.EventObject
com.itmill.toolkit.ui.Component.Event
com.itmill.toolkit.ui.Upload.FinishedEvent
com.itmill.toolkit.ui.Upload.FailedEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Upload.NoInputStreamEvent, Upload.NoOutputStreamEvent
- Enclosing class:
- Upload
public class Upload.FailedEvent
- extends Upload.FinishedEvent
Upload.Interrupted event is sent when the upload is received, but the
reception is interrupted for some reason.
- Since:
- 3.0
- Version:
- 5.3.0
- Author:
- IT Mill Ltd.
- See Also:
- Serialized Form
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
-
getReason
public Exception getReason()
- Gets the exception that caused the failure.
- Returns:
- the exception that caused the failure, null if n/a
Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.