Changeset 13716 in josm for trunk/src


Ignore:
Timestamp:
2018-05-08T12:50:17+02:00 (7 years ago)
Author:
Don-vip
Message:

see #16047 - catch correct exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r13715 r13716  
    4848import java.util.Locale;
    4949import java.util.Optional;
    50 import java.util.ServiceConfigurationError;
    5150import java.util.concurrent.ExecutionException;
    5251import java.util.concurrent.Executor;
     
    7372import javax.xml.parsers.SAXParserFactory;
    7473import javax.xml.validation.SchemaFactory;
     74import javax.xml.validation.SchemaFactoryConfigurationError;
    7575
    7676import org.openstreetmap.josm.spi.preferences.Config;
     
    13391339        try {
    13401340            return SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
    1341         } catch (ServiceConfigurationError e) {
     1341        } catch (SchemaFactoryConfigurationError e) {
    13421342            Logging.debug(e);
    13431343            // Can happen with icedtea-web. Use workaround from https://issues.apache.org/jira/browse/GERONIMO-6185
Note: See TracChangeset for help on using the changeset viewer.