Changeset 14466 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-11-29T08:09:55+01:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
r14461 r14466 458 458 Logging.error(e); 459 459 logError(new ParseException(e.getMessage())); // allow e to be garbage collected, it links to the entire token stream 460 } catch (IllegalArgumentException e1) { 461 final RuntimeException e = new JosmRuntimeException(e1.getMessage()); 462 Logging.warn(tr("Failed to parse Mappaint styles from ''{0}''. Error was: {1}", url, e.getMessage())); 463 Logging.error(e); 464 logError(e); 465 460 466 } 461 467 if (metadataOnly) { -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java
r14462 r14466 4 4 import static org.openstreetmap.josm.data.projection.Ellipsoid.WGS84; 5 5 6 import java.text.MessageFormat; 6 7 import java.util.Collection; 7 8 import java.util.Collections; … … 654 655 case "setting": return BASE_SETTING; 655 656 default: 656 throw new IllegalArgumentException( "unknown selector " + base);657 throw new IllegalArgumentException(MessageFormat.format("Unknown MapCSS base selector {0}", base)); 657 658 } 658 659 }
Note:
See TracChangeset
for help on using the changeset viewer.