EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.tucana.event
Class DownloadFailEvent

java.lang.Object
  extended by java.util.EventObject
      extended by echopoint.tucana.event.DownloadEvent
          extended by echopoint.tucana.event.DownloadFailEvent
All Implemented Interfaces:
Serializable

public class DownloadFailEvent
extends DownloadEvent

A download event that indicates that a download request from the client failed (usually not due to user interaction).

Version:
$Id: DownloadFailEvent.java 92 2008-11-11 19:49:44Z sptrakesh $
Author:
Rakesh 2008-11-11
See Also:
Serialized Form

Field Summary
 
Fields inherited from class echopoint.tucana.event.DownloadEvent
contentLength, contentType, fileName
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DownloadFailEvent(DownloadCommand source, DownloadProvider provider, Exception exception)
          Constructs a new download event with the specified content attributes.
 
Method Summary
 Exception getException()
          Accessor for property 'exception'.
 
Methods inherited from class echopoint.tucana.event.DownloadEvent
getContentLength, getContentType, getFileName
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DownloadFailEvent

public DownloadFailEvent(DownloadCommand source,
                         DownloadProvider provider,
                         Exception exception)
                  throws IllegalArgumentException
Constructs a new download event with the specified content attributes.

Parameters:
source - The object on which the Event initially occurred.
provider - The download provider that contains information about the content that was downloaded.
exception - The cause of the failure.
Throws:
IllegalArgumentException - if source is null.
Method Detail

getException

public Exception getException()
Accessor for property 'exception'.

Returns:
Value for property 'exception'.

EchoPoint API - 3.0.0b5
App Webcontainer