Index: trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java	(revision 14473)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java	(revision 14474)
@@ -446,5 +446,5 @@
                     closeSourceInputStream(in);
                 }
-            } catch (IOException e) {
+            } catch (IOException | IllegalArgumentException e) {
                 Logging.warn(tr("Failed to load Mappaint styles from ''{0}''. Exception was: {1}", url, e.toString()));
                 Logging.log(Logging.LEVEL_ERROR, e);
@@ -458,10 +458,4 @@
                 Logging.error(e);
                 logError(new ParseException(e.getMessage())); // allow e to be garbage collected, it links to the entire token stream
-            } catch (IllegalArgumentException e1) {
-                final RuntimeException e = new JosmRuntimeException(e1.getMessage());
-                Logging.warn(tr("Failed to parse Mappaint styles from ''{0}''. Error was: {1}", url, e.getMessage()));
-                Logging.error(e);
-                logError(e);
-
             }
             if (metadataOnly) {
