Changeset 7004 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2014-04-26T15:28:16+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r6990 r7004 1167 1167 GuiHelper.runInEDT(task); 1168 1168 return task.get(); 1169 } catch (InterruptedException e) { 1170 Main.warn(e); 1171 } catch (ExecutionException e) { 1169 } catch (InterruptedException | ExecutionException e) { 1172 1170 Main.warn(e); 1173 1171 } -
trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java
r6890 r7004 320 320 Object plugin = c.newInstance(this); 321 321 return new PluginProxy(plugin, this); 322 } catch(NoSuchMethodException e) { 323 throw new PluginException(name, e); 324 } catch(IllegalAccessException e) { 325 throw new PluginException(name, e); 326 } catch (InstantiationException e) { 327 throw new PluginException(name, e); 328 } catch(InvocationTargetException e) { 322 } catch(NoSuchMethodException | IllegalAccessException | InstantiationException | InvocationTargetException e) { 329 323 throw new PluginException(name, e); 330 324 } … … 343 337 try { 344 338 return Class.forName(className, true, classLoader); 345 } catch (ClassNotFoundException e) { 346 throw new PluginException(name, e); 347 } catch (ClassCastException e) { 339 } catch (ClassNotFoundException | ClassCastException e) { 348 340 throw new PluginException(name, e); 349 341 }
Note:
See TracChangeset
for help on using the changeset viewer.