Changeset 12599 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-08-14T13:25:17+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r12323 r12599 287 287 * All exceptions that occured during plugin loading 288 288 */ 289 static final Map<String, Exception> pluginLoadingExceptions = new HashMap<>();289 static final Map<String, Throwable> pluginLoadingExceptions = new HashMap<>(); 290 290 291 291 /** -
trunk/src/org/openstreetmap/josm/plugins/PluginProxy.java
r12322 r12599 56 56 } 57 57 58 private void handlePluginException( Exceptione) {58 private void handlePluginException(Throwable e) { 59 59 PluginHandler.pluginLoadingExceptions.put(getPluginInformation().name, e); 60 60 BugReportExceptionHandler.handleException(new PluginException(this, getPluginInformation().name, e)); … … 68 68 Main.trace(e); 69 69 Main.debug("Plugin "+plugin+" does not define mapFrameInitialized"); 70 } catch (ReflectiveOperationException | IllegalArgumentException e) {70 } catch (ReflectiveOperationException | IllegalArgumentException | NoClassDefFoundError e) { 71 71 handlePluginException(e); 72 72 } … … 81 81 Main.debug("Plugin "+plugin+" does not define getPreferenceSetting"); 82 82 return null; 83 } catch (ReflectiveOperationException | IllegalArgumentException e) {83 } catch (ReflectiveOperationException | IllegalArgumentException | NoClassDefFoundError e) { 84 84 handlePluginException(e); 85 85 } … … 94 94 Main.trace(e); 95 95 Main.debug("Plugin "+plugin+" does not define addDownloadSelection"); 96 } catch (ReflectiveOperationException | IllegalArgumentException e) {96 } catch (ReflectiveOperationException | IllegalArgumentException | NoClassDefFoundError e) { 97 97 handlePluginException(e); 98 98 }
Note:
See TracChangeset
for help on using the changeset viewer.