Implement TmfTrace changes - introduce TmfTraceException
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / internal / tmf / ui / parsers / wizards / CustomXmlParserOutputWizardPage.java
index af84490931b03fe73fd888302535994ec478f1d3..fd198b7375be78c79105fd999431991c8a059de9 100644 (file)
@@ -1,7 +1,6 @@
 package org.eclipse.linuxtools.internal.tmf.ui.parsers.wizards;\r
 \r
 import java.io.File;\r
-import java.io.FileNotFoundException;\r
 import java.io.FileWriter;\r
 import java.io.IOException;\r
 import java.util.ArrayList;\r
@@ -16,6 +15,7 @@ import org.eclipse.linuxtools.internal.tmf.ui.parsers.custom.CustomTraceDefiniti
 import org.eclipse.linuxtools.internal.tmf.ui.parsers.custom.CustomTraceDefinition.OutputColumn;\r
 import org.eclipse.linuxtools.internal.tmf.ui.parsers.custom.CustomXmlTrace;\r
 import org.eclipse.linuxtools.internal.tmf.ui.parsers.custom.CustomXmlTraceDefinition;\r
+import org.eclipse.linuxtools.tmf.core.exceptions.TmfTraceException;\r
 import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;\r
 import org.eclipse.swt.SWT;\r
 import org.eclipse.swt.custom.SashForm;\r
@@ -204,7 +204,7 @@ public class CustomXmlParserOutputWizardPage extends WizardPage {
             previewTable = new CustomEventsTable(definition, tableContainer, CACHE_SIZE);\r
             previewTable.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));\r
             previewTable.setTrace(trace, true);\r
-        } catch (final FileNotFoundException e) {\r
+        } catch (final TmfTraceException e) {\r
             e.printStackTrace();\r
         } catch (final IOException e) {\r
             e.printStackTrace();\r
This page took 0.024856 seconds and 5 git commands to generate.