Adds basic plugin dependencies, courtesy of Raphfrk

This commit is contained in:
Dinnerbone
2011-03-07 13:56:34 +00:00
parent effd3e6574
commit 1f0d89be27
9 changed files with 183 additions and 24 deletions

View File

@@ -20,7 +20,7 @@ public interface PluginLoader {
* unsuccessful
* @throws InvalidPluginException Thrown when the specified file is not a plugin
*/
public Plugin loadPlugin(File file) throws InvalidPluginException, InvalidDescriptionException;
public Plugin loadPlugin(File file) throws InvalidPluginException, InvalidDescriptionException, UnknownDependencyException;
/**
* Returns a list of all filename filters expected by this PluginLoader