Changeset 7004 in josm for trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java
- Timestamp:
- 2014-04-26T15:28:16+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.
