Changeset 7234 in josm for trunk/src


Ignore:
Timestamp:
2014-06-10T00:51:18+02:00 (10 years ago)
Author:
Don-vip
Message:

see #10118 - robustness in mapcss tagchecker (exception occurs with java8, not with java7, to investigate)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java

    r7213 r7234  
    337337                try {
    338338                    m.appendReplacement(sb, String.valueOf(argument));
    339                 } catch (IndexOutOfBoundsException e) {
     339                } catch (IndexOutOfBoundsException | IllegalArgumentException e) {
    340340                    Main.error(tr("Unable to replace argument {0} in {1}: {2}", argument, sb, e.getMessage()));
    341341                }
Note: See TracChangeset for help on using the changeset viewer.