Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2012 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2013 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 816-829
Link Here
|
816 |
} catch (MalformedURLException e) { |
816 |
} catch (MalformedURLException e) { |
817 |
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC, this)); |
817 |
throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC, this)); |
818 |
} catch (FileNotFoundException e) { |
818 |
} catch (FileNotFoundException e) { |
819 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=120559 |
819 |
// see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=120559 & |
820 |
} catch(SocketException e) { |
820 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=400060 |
821 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 |
821 |
throw new JavaModelException(e, IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC); |
822 |
} catch(UnknownHostException e) { |
822 |
} catch (SocketException e) { |
823 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 |
823 |
// see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 & |
824 |
} catch(ProtocolException e) { |
824 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=400060 |
825 |
// ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 |
825 |
throw new JavaModelException(e, IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC); |
826 |
} catch(IOException e) { |
826 |
} catch (UnknownHostException e) { |
|
|
827 |
// see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 & |
828 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=400060 |
829 |
throw new JavaModelException(e, IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC); |
830 |
} catch (ProtocolException e) { |
831 |
// see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 & |
832 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=400060 |
833 |
throw new JavaModelException(e, IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC); |
834 |
} catch (IOException e) { |
827 |
throw new JavaModelException(e, IJavaModelStatusConstants.IO_EXCEPTION); |
835 |
throw new JavaModelException(e, IJavaModelStatusConstants.IO_EXCEPTION); |
828 |
} finally { |
836 |
} finally { |
829 |
if (stream != null) { |
837 |
if (stream != null) { |