echopoint.tucana.event
Class UploadFailEvent
java.lang.Object
java.util.EventObject
echopoint.tucana.event.UploadEvent
echopoint.tucana.event.UploadFailEvent
- All Implemented Interfaces:
- Serializable
public class UploadFailEvent
- extends UploadEvent
An event that represents a failed file transfer.
Note: Development of this component was sponsored by TCN
Broadcasting. We are grateful for their support and sponsorship.
- Version:
- $Id: UploadFailEvent.java 90 2008-11-11 01:41:05Z sptrakesh $
- Author:
- Echo File Transfer Library
- See Also:
- Serialized Form
UploadFailEvent
public UploadFailEvent(FileUploadSelector source,
String index,
String fileName,
String contentType,
Exception exception)
- Creates a new
UploadEvent
. This is the designated constructor.
- Parameters:
source
- the source of the eventindex
- the index of the uploadfileName
- the name of the file, may not contain path informationcontentType
- the content type of the uploaded fileexception
- The exception that caused the failure.
getException
public Exception getException()
- Returns the exception that caused the file upload to fail.
- Returns:
- the exception if available,
null
if unknown.