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:
PluginManager,
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
PluginInstantiationException
public PluginInstantiationException(String msg)
- Parameters:
msg - Error message text.
PluginInstantiationException
public PluginInstantiationException(String msg,
Throwable cause)
- Parameters:
msg - Error message text.
PluginInstantiationException
public PluginInstantiationException(Throwable cause)
Copyright © 2012 DuraSpace. All Rights Reserved.