Changeset 15221 in josm


Ignore:
Timestamp:
2019-07-07T14:17:28+02:00 (7 weeks ago)
Author:
Don-vip
Message:

see #17881 - add more precise error log

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java

    r15187 r15221  
    2323import java.util.jar.JarInputStream;
    2424import java.util.jar.Manifest;
     25import java.util.logging.Level;
    2526
    2627import javax.swing.ImageIcon;
     
    383384            return Class.forName(className, true, classLoader);
    384385        } catch (NoClassDefFoundError | ClassNotFoundException | ClassCastException e) {
     386            Logging.logWithStackTrace(Level.SEVERE, e,
     387                    "Unable to load class {0} from plugin {1} using classloader {2}", className, name, classLoader);
    385388            throw new PluginException(name, e);
    386389        }
Note: See TracChangeset for help on using the changeset viewer.