Author: toad
Date: 2007-02-14 17:49:14 +0000 (Wed, 14 Feb 2007)
New Revision: 11783
Modified:
trunk/freenet/src/freenet/oldplugins/plugin/PluginManager.java
Log:
Better feedback when plugin load fails
Modified: trunk/freenet/src/freenet/oldplugins/plugin/PluginManager.java
===================================================================
--- trunk/freenet/src/freenet/oldplugins/plugin/PluginManager.java
2007-02-14 17:44:08 UTC (rev 11782)
+++ trunk/freenet/src/freenet/oldplugins/plugin/PluginManager.java
2007-02-14 17:49:14 UTC (rev 11783)
@@ -132,6 +132,8 @@
* @see URL
* @param pluginName
* The name of the plugin
+ *
+ * FIXME IllegalArgumentException is not the best way to convey an
error here!
*/
public void addPlugin(String pluginName, final boolean store) throws
IllegalArgumentException {
if(Logger.shouldLog(Logger.MINOR, this))