Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-09-27 14:19:27 +0000
committerLars Vogel2019-09-27 15:57:49 +0000
commit98d65446bd282cca7ef995fccd90c795fb948be4 (patch)
tree2427664e50c58638e53c45efbce2c201d0a1b93f
parent85845250dd8f026218cea064bdafd6a7a52d166e (diff)
downloadorg.eclipse.e4.tools-98d65446bd282cca7ef995fccd90c795fb948be4.tar.gz
org.eclipse.e4.tools-98d65446bd282cca7ef995fccd90c795fb948be4.tar.xz
org.eclipse.e4.tools-98d65446bd282cca7ef995fccd90c795fb948be4.zip
Multicatch in CSS Spy Part
Change-Id: Iea85245490ba3d46f88657df8580ef3578e41605 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.e4.tools.css.spy/src/org/eclipse/e4/tools/css/spy/CssSpyPart.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/bundles/org.eclipse.e4.tools.css.spy/src/org/eclipse/e4/tools/css/spy/CssSpyPart.java b/bundles/org.eclipse.e4.tools.css.spy/src/org/eclipse/e4/tools/css/spy/CssSpyPart.java
index 5bdb38c0..3cde7618 100644
--- a/bundles/org.eclipse.e4.tools.css.spy/src/org/eclipse/e4/tools/css/spy/CssSpyPart.java
+++ b/bundles/org.eclipse.e4.tools.css.spy/src/org/eclipse/e4/tools/css/spy/CssSpyPart.java
@@ -874,9 +874,7 @@ public class CssSpyPart {
SelectorList selectors = engine.parseSelectors(text);
monitor.worked(2);
processCSSSearch(new SubProgressMonitor(monitor, 8), engine, selectors, element, null, results);
- } catch (CSSParseException e) {
- System.out.println(e.toString());
- } catch (IOException e) {
+ } catch (CSSParseException | IOException e) {
System.out.println(e.toString());
}
}

Back to the top