Display exception in message dialog box in TmfEventsTable
authorBernd Hufmann <bhufmann@gmail.com>
Fri, 22 Mar 2013 11:27:39 +0000 (07:27 -0400)
committerBernd Hufmann <bhufmann@gmail.com>
Fri, 22 Mar 2013 14:45:19 +0000 (10:45 -0400)
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>

org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java

index e262b5e62ef3526766c06631d33915af96da8649..172d9e748ca89f5c22d237ece99d6149a8377bfc 100644 (file)
@@ -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);
                     }
                 }
             }
This page took 0.026617 seconds and 5 git commands to generate.