Index: trunk/src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java	(revision 14559)
+++ trunk/src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java	(revision 14561)
@@ -2009,5 +2009,5 @@
                 }
             };
-        } catch (ParseException e) {
+        } catch (ParseException | IllegalArgumentException e) {
             throw new SearchParseError(tr("Failed to parse MapCSS selector"), e);
         }
