Lines 11-16
Link Here
|
11 |
package org.eclipse.jdt.internal.core; |
11 |
package org.eclipse.jdt.internal.core; |
12 |
|
12 |
|
13 |
import java.io.BufferedInputStream; |
13 |
import java.io.BufferedInputStream; |
|
|
14 |
import java.io.FileNotFoundException; |
14 |
import java.io.IOException; |
15 |
import java.io.IOException; |
15 |
import java.io.InputStream; |
16 |
import java.io.InputStream; |
16 |
import java.net.MalformedURLException; |
17 |
import java.net.MalformedURLException; |
Lines 722-730
Link Here
|
722 |
return String.valueOf(contents); |
723 |
return String.valueOf(contents); |
723 |
} |
724 |
} |
724 |
} catch (MalformedURLException e) { |
725 |
} catch (MalformedURLException e) { |
725 |
// ignore |
726 |
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC, this)); |
726 |
} catch (IOException e) { |
727 |
} catch (FileNotFoundException e) { |
727 |
// ignore |
728 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=120559 |
|
|
729 |
} catch(IOException e) { |
730 |
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC, this)); |
728 |
} finally { |
731 |
} finally { |
729 |
if (stream != null) { |
732 |
if (stream != null) { |
730 |
try { |
733 |
try { |