Don't catch the FileNotFound exception in CTF tests
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core.tests / src / org / eclipse / linuxtools / ctf / core / tests / TestParams.java
index 45609ecc84ed99964a86ef5907c35037eae70934..cf3dbc61e4e1ab5eca896337c263d25c6fd5fb5e 100644 (file)
@@ -37,14 +37,9 @@ public abstract class TestParams {
         return emptyTrace;
     }
     
-    public static CTFTrace createTrace() {
+    public static CTFTrace createTrace() throws CTFReaderException {
         if (testTrace1 == null) {
-            try {
-                testTrace1 = new CTFTrace(testTracePath1);
-            } catch (CTFReaderException e) {
-                /* We know this trace should exist */
-                throw new RuntimeException(e);
-            }
+            testTrace1 = new CTFTrace(testTracePath1);
         }
         return testTrace1;
     }
This page took 0.025244 seconds and 5 git commands to generate.