Lines 18-26
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.ProtocolException; |
|
|
22 |
import java.net.SocketException; |
22 |
import java.net.URL; |
23 |
import java.net.URL; |
23 |
import java.net.URLConnection; |
24 |
import java.net.URLConnection; |
|
|
25 |
import java.net.UnknownHostException; |
24 |
import java.util.ArrayList; |
26 |
import java.util.ArrayList; |
25 |
import java.util.HashMap; |
27 |
import java.util.HashMap; |
26 |
|
28 |
|
Lines 788-794
Link Here
|
788 |
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC, this)); |
790 |
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC, this)); |
789 |
} catch (FileNotFoundException e) { |
791 |
} catch (FileNotFoundException e) { |
790 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=120559 |
792 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=120559 |
791 |
} catch(NoRouteToHostException e) { |
793 |
} catch(SocketException e) { |
|
|
794 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 |
795 |
} catch(UnknownHostException e) { |
796 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 |
797 |
} catch(ProtocolException e) { |
792 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 |
798 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 |
793 |
} catch(IOException e) { |
799 |
} catch(IOException e) { |
794 |
StringWriter stringWriter = new StringWriter(); |
800 |
StringWriter stringWriter = new StringWriter(); |