diff options
author | Bernd Hufmann | 2013-03-22 11:27:39 +0000 |
---|---|---|
committer | Bernd Hufmann | 2013-03-22 14:45:19 +0000 |
commit | 6502b9146405800c93d010f8a5bbcd63e8e6bdd0 (patch) | |
tree | a51f786cd63d46d13d638da6d15e935bd2851581 /lttng | |
parent | 0cb532f5dc5c7353cbe84ba8eba0aaf37f831d2c (diff) | |
download | org.eclipse.linuxtools-6502b9146405800c93d010f8a5bbcd63e8e6bdd0.tar.gz org.eclipse.linuxtools-6502b9146405800c93d010f8a5bbcd63e8e6bdd0.tar.xz org.eclipse.linuxtools-6502b9146405800c93d010f8a5bbcd63e8e6bdd0.zip |
Display exception in message dialog box in TmfEventsTable
Change-Id: Iac0dd768257a020b1db69e4dd39a4709988e7aa9
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11382
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Diffstat (limited to 'lttng')
-rw-r--r-- | lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java index e262b5e62e..172d9e748c 100644 --- a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java +++ b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java @@ -130,7 +130,6 @@ import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; import org.eclipse.swt.widgets.Text; import org.eclipse.ui.IWorkbenchPage; -import org.eclipse.ui.PartInitException; import org.eclipse.ui.PlatformUI; import org.eclipse.ui.dialogs.ListDialog; import org.eclipse.ui.ide.IDE; @@ -644,12 +643,8 @@ public class TmfEventsTable extends TmfComponent implements IGotoMarker, IColorS } else if (files.size() == 0){ displayException(new FileNotFoundException('\'' + cs.toString() + '\'' + '\n' + Messages.TmfEventsTable_OpenCallsiteNotFound)); } - } catch (PartInitException e) { - // TODO Auto-generated catch block - e.printStackTrace(); } catch (CoreException e) { - // TODO Auto-generated catch block - e.printStackTrace(); + displayException(e); } } } |