org.graffiti.managers.pluginmgr
Class PluginManagerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.graffiti.managers.pluginmgr.PluginManagerException
All Implemented Interfaces:
Serializable

public class PluginManagerException
extends Exception

PluginManagerException is thrown, iff an error occured during the loading of a plugin.

Version:
$Revision: 5767 $
See Also:
Serialized Form

Constructor Summary
PluginManagerException(String key)
          Constructor for PluginManagerException.
PluginManagerException(String key, String message)
          Constructs a plugin manager exception from the given parameters.
PluginManagerException(String key, String message, Throwable cause)
          Constructs a plugin manager exception from the given parameters.
 
Method Summary
 Dependency getDependency()
          Returns the dependency.
 void setDependency(Dependency dependency)
          Sets the dependency.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluginManagerException

public PluginManagerException(String key)
Constructor for PluginManagerException.

Parameters:
key - the error message of this exception.

PluginManagerException

public PluginManagerException(String key,
                              String message)
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.

PluginManagerException

public PluginManagerException(String key,
                              String message,
                              Throwable cause)
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.
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Method Detail

setDependency

public void setDependency(Dependency dependency)
Sets the dependency.

Parameters:
dependency - The dependency to set

getDependency

public Dependency getDependency()
Returns the dependency.

Returns:
Dependency


Generated at 2012-05-30 11:00:14 PM CEST