Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311175

Summary: Discord between IIncomingFileTransferReceiveDoneEvent and IOutgoingFileTransferSendDoneEvent
Product: [RT] ECF Reporter: Remy Suen <remy.suen>
Component: ecf.filetransferAssignee: ecf.core-inbox <ecf.core-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: erdal.karaca.de, slewis
Version: 3.3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Remy Suen CLA 2010-04-30 09:48:49 EDT
IIncomingFileTransferReceiveDoneEvent has a getException() method. IOutgoingFileTransferSendDoneEvent does not. There doesn't seem to be a way for the listener to know that the file transfer failed, is there?
Comment 1 Scott Lewis CLA 2010-04-30 10:55:14 EDT
I agree about the discord/asymmetry in the API...and we can/should fix it once we're out of the Helios freeze, but I believe you can get to at exception via:

IOutgoingFileTransferSendDoneEvent.getSource().getException()

I think I even had getException on IOutgoingFileTransferSendDoneEvent at one point...but removed it for reasons I can't remember.  Given the getSource(), I'm going to downgrade this from major to normal.
Comment 2 Scott Lewis CLA 2014-02-14 16:48:01 EST
Given comment 1 resolving as wontfix.