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

@@ -65,7 +65,7 @@ public interface PluginManager {
* @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, InvalidDescriptionException;
public Plugin loadPlugin(File file) throws InvalidPluginException, InvalidDescriptionException, UnknownDependencyException;
/**
* Loads the plugins contained within the specified directory