Changeset 1888


Ignore:
Timestamp:
12/02/06 15:02:31 (13 years ago)
Author:
curtis
Message:

Catch NoClassDefFoundError in addition to ClassNotFoundException.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/ReflectedUniverse.java

    r1629 r1888  
    109109      try { 
    110110        c = Class.forName(command, true, loader); 
     111      } 
     112      catch (NoClassDefFoundError err) { 
     113        if (debug) err.printStackTrace(); 
     114        throw new ReflectException("No such class: " + command, err); 
    111115      } 
    112116      catch (ClassNotFoundException exc) { 
Note: See TracChangeset for help on using the changeset viewer.