Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2010-11-17 21:35:10 +0000
committerJeff Johnston2010-11-17 21:35:10 +0000
commit345c903f1143923dfc5b879765decf59749271c4 (patch)
tree99d1c6d2f56c5fd1570bdd37d31730b0324bc54f /profiling
parentdfbc11acfcb86532111144392634640bec97e68f (diff)
downloadorg.eclipse.linuxtools-345c903f1143923dfc5b879765decf59749271c4.tar.gz
org.eclipse.linuxtools-345c903f1143923dfc5b879765decf59749271c4.tar.xz
org.eclipse.linuxtools-345c903f1143923dfc5b879765decf59749271c4.zip
2010-11-17 Jeff Johnston <jjohnstn@redhat.com>
* src/org/eclipse/linuxtools/profiling/ui/ProfileUIUtils.java (findFunctionsInProject): Add a catchall for any type of java.lang.Exception and remove the catch for DomException to allow the code to work both in CDT 8.0.0 and prior releases of CDT.
Diffstat (limited to 'profiling')
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.ui/ChangeLog6
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.ui/src/org/eclipse/linuxtools/profiling/ui/ProfileUIUtils.java6
2 files changed, 9 insertions, 3 deletions
diff --git a/profiling/org.eclipse.linuxtools.profiling.ui/ChangeLog b/profiling/org.eclipse.linuxtools.profiling.ui/ChangeLog
index 94b7e97170..5dc519397a 100644
--- a/profiling/org.eclipse.linuxtools.profiling.ui/ChangeLog
+++ b/profiling/org.eclipse.linuxtools.profiling.ui/ChangeLog
@@ -1,3 +1,9 @@
+2010-11-17 Jeff Johnston <jjohnstn@redhat.com>
+
+ * src/org/eclipse/linuxtools/profiling/ui/ProfileUIUtils.java (findFunctionsInProject):
+ Add a catchall for any type of java.lang.Exception and remove the catch for
+ DomException to allow the code to work both in CDT 8.0.0 and prior releases of CDT.
+
2010-07-26 Elliott Baron <ebaron@fedoraproject.org>
* META-INF/MANIFEST.MF: Bump version to 0.7.0.
diff --git a/profiling/org.eclipse.linuxtools.profiling.ui/src/org/eclipse/linuxtools/profiling/ui/ProfileUIUtils.java b/profiling/org.eclipse.linuxtools.profiling.ui/src/org/eclipse/linuxtools/profiling/ui/ProfileUIUtils.java
index c7a9c16997..55af1b627f 100644
--- a/profiling/org.eclipse.linuxtools.profiling.ui/src/org/eclipse/linuxtools/profiling/ui/ProfileUIUtils.java
+++ b/profiling/org.eclipse.linuxtools.profiling.ui/src/org/eclipse/linuxtools/profiling/ui/ProfileUIUtils.java
@@ -249,11 +249,11 @@ public class ProfileUIUtils {
e.printStackTrace();
} catch (InterruptedException e) {
e.printStackTrace();
- } catch (DOMException e) {
- e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
- }finally{
+ } catch (Exception e) {
+ e.printStackTrace();
+ } finally{
index.releaseReadLock();
}
return files;

Back to the top