Changeset 33193 in osm


Ignore:
Timestamp:
2017-03-23T12:26:00+01:00 (8 years ago)
Author:
malcolmh
Message:

catch rendering exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/render/Rules.java

    r33177 r33193  
    252252
    253253    public static void rules() {
    254         // CHECKSTYLE.OFF: NeedBraces
     254        try {
    255255        if ((Renderer.context.ruleset() == RuleSet.ALL) || (Renderer.context.ruleset() == RuleSet.BASE)) {
    256256            if (testObject(Obj.LNDARE)) for (Feature f : objects) if (testFeature(f)) areas();
     
    347347            if (testObject(Obj.BCNSPP)) for (Feature f : objects) if (testFeature(f)) beacons();
    348348        }
    349         // CHECKSTYLE.ON: NeedBraces
     349        } catch (Exception e) {
     350                return; // Just skip this pass
     351        }
    350352    }
    351353
Note: See TracChangeset for help on using the changeset viewer.