Implement TmfTrace changes - introduce TmfTraceException
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.kernel.core.tests / src / org / eclipse / linuxtools / lttng2 / kernel / core / tests / stateprovider / CTFTestFiles.java
index ffae44c9aad91b00bdd8663029e81ed985f0abf9..577c6b04407d83a8fbdfe18f09e68c119616a950 100644 (file)
 
 package org.eclipse.linuxtools.lttng2.kernel.core.tests.stateprovider;
 
-import java.io.FileNotFoundException;
-
 import org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfEvent;
 import org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfTrace;
+import org.eclipse.linuxtools.tmf.core.exceptions.TmfTraceException;
 
 /**
  * Definitions used by all tests using CTF trace files
@@ -40,7 +39,7 @@ public abstract class CTFTestFiles {
 
     public static CtfTmfTrace trace = null;
 
-    public static CtfTmfTrace getTestTrace() throws FileNotFoundException {
+    public static CtfTmfTrace getTestTrace() throws TmfTraceException {
         if (trace == null) {
             trace = new CtfTmfTrace();
             trace.initTrace(null, traceFile, CtfTmfEvent.class);
This page took 0.024027 seconds and 5 git commands to generate.