Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 272604 - [transport] Some exceptions are not propagated
Summary: [transport] Some exceptions are not propagated
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Henrik Lindberg CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 271681
  Show dependency tree
 
Reported: 2009-04-16 20:43 EDT by Henrik Lindberg CLA
Modified: 2009-04-16 20:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Lindberg CLA 2009-04-16 20:43:40 EDT
As noted in Bug 271681
> In the FileInfoReader#sendBrowseRequest() method, if the transfer exception is
> returned via listener (as is the case for UnknownHost) it does not always occur
> prior to the check for null.  This also leads to breaking out of the loop
> before the maximum retry attempts.
> 
The FileReader has the same issue.
Comment 1 Henrik Lindberg CLA 2009-04-16 20:55:23 EDT
Fixed in HEAD.

Added checks if an exception had occurred after finished waiting for the transfer. The processing is almost the same as done for connection errors and that part was refactored out to a separate method,.