Changeset 12112 in josm


Ignore:
Timestamp:
2017-05-11T01:19:34+02:00 (3 years ago)
Author:
Don-vip
Message:

catch NoSuchMethodError for outdated plugin file importers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/FileImporter.java

    r12075 r12112  
    1616import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    1717import org.openstreetmap.josm.gui.util.GuiHelper;
    18 import org.openstreetmap.josm.tools.JosmRuntimeException;
    1918import org.openstreetmap.josm.tools.Utils;
    2019import org.openstreetmap.josm.tools.bugreport.BugReportExceptionHandler;
     
    104103            displayError(f, e);
    105104            return false;
    106         } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) {
     105        } catch (RuntimeException | LinkageError e) { // NOPMD
    107106            BugReportExceptionHandler.handleException(e);
    108107            return false;
Note: See TracChangeset for help on using the changeset viewer.