Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Baron2009-04-02 14:15:33 +0000
committerElliott Baron2009-04-02 14:15:33 +0000
commit0a3ccc7ed9b2ca1142991b67e0ee035d135c1f75 (patch)
tree28ab9cd72a076e1a6a001f754b75126bc0129488 /valgrind/org.eclipse.linuxtools.valgrind.tests
parentb98347a635b4f0ac50e7838ef136e3b7a46ba884 (diff)
downloadorg.eclipse.linuxtools-0a3ccc7ed9b2ca1142991b67e0ee035d135c1f75.tar.gz
org.eclipse.linuxtools-0a3ccc7ed9b2ca1142991b67e0ee035d135c1f75.tar.xz
org.eclipse.linuxtools-0a3ccc7ed9b2ca1142991b67e0ee035d135c1f75.zip
Throw a RuntimeException if for some reason reading stub error code fails.
Diffstat (limited to 'valgrind/org.eclipse.linuxtools.valgrind.tests')
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.tests/ChangeLog5
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.tests/src/org/eclipse/linuxtools/valgrind/tests/ValgrindTestLaunchDelegate.java2
2 files changed, 6 insertions, 1 deletions
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.tests/ChangeLog b/valgrind/org.eclipse.linuxtools.valgrind.tests/ChangeLog
index 804c9efcfd..ff2252333b 100644
--- a/valgrind/org.eclipse.linuxtools.valgrind.tests/ChangeLog
+++ b/valgrind/org.eclipse.linuxtools.valgrind.tests/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-02 Elliott Baron <ebaron@redhat.com>
+
+ * ValgrindTestLaunchDelegate.java (getValgrindCommand): Reading error code
+ must succeed.
+
2009-03-25 Elliott Baron <ebaron@redhat.com>
* ValgrindTestExportWizard.java: New file.
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.tests/src/org/eclipse/linuxtools/valgrind/tests/ValgrindTestLaunchDelegate.java b/valgrind/org.eclipse.linuxtools.valgrind.tests/src/org/eclipse/linuxtools/valgrind/tests/ValgrindTestLaunchDelegate.java
index 67b9bfdd3a..f6e8c65c49 100644
--- a/valgrind/org.eclipse.linuxtools.valgrind.tests/src/org/eclipse/linuxtools/valgrind/tests/ValgrindTestLaunchDelegate.java
+++ b/valgrind/org.eclipse.linuxtools.valgrind.tests/src/org/eclipse/linuxtools/valgrind/tests/ValgrindTestLaunchDelegate.java
@@ -32,7 +32,7 @@ public class ValgrindTestLaunchDelegate extends ValgrindLaunchConfigurationDeleg
try {
exitcode = readErrorCode();
} catch (IOException e) {
- e.printStackTrace();
+ throw new RuntimeException(e);
}
return new ValgrindStubCommand(exitcode);
}

Back to the top