Ignore:
Timestamp:
2014-07-07T22:44:23+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #10242 - catch NoClassDefFoundError when ClassNotFoundException is catched

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2Util.java

    r6362 r7294  
    114114            Class.forName("java.nio.channels.FileChannel");
    115115            nioAvailable = true;
    116         } catch (ClassNotFoundException cnfe) {
     116        } catch (NoClassDefFoundError | ClassNotFoundException cnfe) {
    117117            Main.info(cnfe.getMessage());
    118118        }
Note: See TracChangeset for help on using the changeset viewer.