tmf.ui: convert long list of catches to a multi-catch
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 3 Dec 2014 18:25:47 +0000 (13:25 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 4 Dec 2014 15:05:20 +0000 (10:05 -0500)
Change-Id: Ifc29e2d334fa940aa165dd461fbd9c3ff7d5bc8a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37514
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventsTable.java

index e01f4058c3e87cf5bf95b2dd331a5951cd0eb46e..4a20099f5b023be85ec98d616be961060d1726f0 100644 (file)
@@ -868,13 +868,7 @@ public class TmfEventsTable extends TmfComponent implements IGotoMarker, IColorS
                     context.addVariable(ExportToTextCommandHandler.TMF_EVENT_TABLE_COLUMNS_ID, exportColumns);
 
                     handlerService.executeCommandInContext(cmd, null, context);
-                } catch (ExecutionException e) {
-                    displayException(e);
-                } catch (NotDefinedException e) {
-                    displayException(e);
-                } catch (NotEnabledException e) {
-                    displayException(e);
-                } catch (NotHandledException e) {
+                } catch (ExecutionException | NotDefinedException | NotEnabledException | NotHandledException e) {
                     displayException(e);
                 }
             }
This page took 0.026165 seconds and 5 git commands to generate.