Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 227455 Details for
Bug 400060
[misc] Errors in log from fetching Javadoc when working disconnected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fix.
400060_ThrowPreviouslyIgnoredExceptions_20130222.patch (text/plain), 2.52 KB, created by
Martin Mathew
on 2013-02-22 07:47:58 EST
(
hide
)
Description:
Fix.
Filename:
MIME Type:
Creator:
Martin Mathew
Created:
2013-02-22 07:47:58 EST
Size:
2.52 KB
patch
obsolete
>diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java >index 9a580e7..9a0989a 100644 >--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java >+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2012 IBM Corporation and others. >+ * Copyright (c) 2000, 2013 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -816,14 +816,22 @@ > } catch (MalformedURLException e) { > throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC, this)); > } catch (FileNotFoundException e) { >- // ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=120559 >- } catch(SocketException e) { >- // ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 >- } catch(UnknownHostException e) { >- // ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 >- } catch(ProtocolException e) { >- // ignore. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 >- } catch(IOException e) { >+ // see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=120559 & >+ // https://bugs.eclipse.org/bugs/show_bug.cgi?id=400060 >+ throw new JavaModelException(e, IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC); >+ } catch (SocketException e) { >+ // see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 & >+ // https://bugs.eclipse.org/bugs/show_bug.cgi?id=400060 >+ throw new JavaModelException(e, IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC); >+ } catch (UnknownHostException e) { >+ // see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 & >+ // https://bugs.eclipse.org/bugs/show_bug.cgi?id=400060 >+ throw new JavaModelException(e, IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC); >+ } catch (ProtocolException e) { >+ // see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=247845 & >+ // https://bugs.eclipse.org/bugs/show_bug.cgi?id=400060 >+ throw new JavaModelException(e, IJavaModelStatusConstants.CANNOT_RETRIEVE_ATTACHED_JAVADOC); >+ } catch (IOException e) { > throw new JavaModelException(e, IJavaModelStatusConstants.IO_EXCEPTION); > } finally { > if (stream != null) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
daniel_megert
:
review+
Actions:
View
|
Diff
Attachments on
bug 400060
: 227455