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

Bug 346044

Summary: HostReachableValidator does not translate socket exceptions to issues
Product: z_Archived Reporter: Michael Ochmann <michael.ochmann>
Component: SkalliAssignee: Project Inbox <skalli.core-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Ochmann CLA 2011-05-17 03:53:20 EDT
Connection problems should be translated to meaningful issues. Just catching UnknownHostException seems to fail in certain cases:

} catch (UnknownHostException e) {
  issues.add(newIssue(Severity.ERROR, entityId, item, TXT_HOST_UNKNOWN,
                       url.getHost()));
} catch (IOException e) {
  LOG.warning(MessageFormat.format("I/O Exception on validation: {0}", 
                       e.getMessage())); //$NON-NLS-1$
}