Package org.dspace.core
Class PluginInstantiationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.dspace.core.PluginInstantiationException
-
- All Implemented Interfaces:
Serializable
public class PluginInstantiationException extends RuntimeException
This exception indicates a fatal error when instantiating a plugin class.It should only be thrown when something unexpected happens in the course of instantiating a plugin, e.g. an access error, class not found, etc. Simply not finding a class in the configuration is not an exception.
This is a RuntimeException so it doesn't have to be declared, and can be passed all the way up to a generalized fatal exception handler.
- Version:
- $Revision$
- Author:
- Larry Stone
- See Also:
PluginService, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PluginInstantiationException(String msg)PluginInstantiationException(String msg, Throwable cause)PluginInstantiationException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PluginInstantiationException
public PluginInstantiationException(String msg)
- Parameters:
msg- Error message text.
-
PluginInstantiationException
public PluginInstantiationException(String msg, Throwable cause)
- Parameters:
msg- Error message text.cause- other exception that this one is wrapping.
-
PluginInstantiationException
public PluginInstantiationException(Throwable cause)
- Parameters:
cause- other exception that this one is wrapping.
-
-