Package org.graffiti.managers.pluginmgr
Class PluginManagerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.graffiti.managers.pluginmgr.PluginManagerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PluginAlreadyLoadedException
public class PluginManagerException extends Exception
PluginManagerException is thrown, iff an error occured during
the loading of a plugin.- Version:
- $Revision: 1.6 $
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PluginManagerException(String key)Constructor for PluginManagerException.PluginManagerException(String key, String message)Constructs a plugin manager exception from the given parameters. -
Method Summary
Modifier and Type Method Description DependencygetDependency()Returns the dependency.voidsetDependency(Dependency dependency)Sets the dependency.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PluginManagerException
Constructor for PluginManagerException.- Parameters:
key- the error message of this exception.
-
PluginManagerException
Constructs a plugin manager exception from the given parameters.- Parameters:
key- the property key in the plugin manager's resource bundle.message- the additional message of the exception.
-
-
Method Details
-
setDependency
Sets the dependency.- Parameters:
dependency- The dependency to set
-
getDependency
Returns the dependency.- Returns:
- Dependency
-