Lines 18-23
Link Here
|
18 |
import java.io.StringWriter; |
18 |
import java.io.StringWriter; |
19 |
import java.net.JarURLConnection; |
19 |
import java.net.JarURLConnection; |
20 |
import java.net.MalformedURLException; |
20 |
import java.net.MalformedURLException; |
|
|
21 |
import java.net.NoRouteToHostException; |
21 |
import java.net.URL; |
22 |
import java.net.URL; |
22 |
import java.net.URLConnection; |
23 |
import java.net.URLConnection; |
23 |
import java.util.ArrayList; |
24 |
import java.util.ArrayList; |
Lines 787-792
Link Here
|
787 |
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC, this)); |
788 |
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC, this)); |
788 |
} catch (FileNotFoundException e) { |
789 |
} catch (FileNotFoundException e) { |
789 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=120559 |
790 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=120559 |
|
|
791 |
} catch(NoRouteToHostException e) { |
792 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 |
790 |
} catch(IOException e) { |
793 |
} catch(IOException e) { |
791 |
StringWriter stringWriter = new StringWriter(); |
794 |
StringWriter stringWriter = new StringWriter(); |
792 |
PrintWriter writer = new PrintWriter(stringWriter); |
795 |
PrintWriter writer = new PrintWriter(stringWriter); |