Tweaked some more exceptions, get messages passed

This commit is contained in:
Dinnerbone
2011-01-05 22:56:12 +00:00
parent c0f2052627
commit dd843748fa
4 changed files with 8 additions and 8 deletions

View File

@@ -56,8 +56,9 @@ public interface PluginManager {
* @param file File containing the plugin to load
* @return The Plugin loaded, or null if it was invalid
* @throws InvalidPluginException Thrown when the specified file is not a valid plugin
* @throws InvalidDescriptionException Thrown when the specified file contains an invalid description
*/
public Plugin loadPlugin(File file) throws InvalidPluginException;
public Plugin loadPlugin(File file) throws InvalidPluginException, InvalidDescriptionException;
/**
* Loads the plugins contained within the specified directory