Ignore:
Timestamp:
2014-08-06T19:52:20+02:00 (10 years ago)
Author:
donvip
Message:

[josm_geotools] update to geotools 11.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java

    r30349 r30569  
    1111import org.opengis.referencing.FactoryException;
    1212import org.opengis.referencing.NoSuchAuthorityCodeException;
     13import org.openstreetmap.josm.Main;
    1314import org.openstreetmap.josm.plugins.Plugin;
    1415import org.openstreetmap.josm.plugins.PluginInformation;
     
    7475            CRS.decode("EPSG:4326");
    7576        } catch (NoSuchAuthorityCodeException e) {
    76             System.err.println("geotools: error in EPSG database initialization. NoSuchAuthorityCodeException: "+e.getMessage());
     77            Main.error("geotools: error in EPSG database initialization. NoSuchAuthorityCodeException: "+e.getMessage());
    7778        } catch (FactoryException e) {
    78             System.err.println("geotools: error in EPSG database initialization. FactoryException: "+e.getMessage());
     79            Main.error("geotools: error in EPSG database initialization. FactoryException: "+e.getMessage());
    7980        }
    8081    }
Note: See TracChangeset for help on using the changeset viewer.