public class PluginInstantiationException
extends java.lang.RuntimeException
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.
PluginManager,
Serialized Form| Constructor and Description |
|---|
PluginInstantiationException(java.lang.String msg) |
PluginInstantiationException(java.lang.String msg,
java.lang.Throwable cause) |
PluginInstantiationException(java.lang.Throwable cause) |
public PluginInstantiationException(java.lang.String msg)
msg - Error message text.public PluginInstantiationException(java.lang.String msg,
java.lang.Throwable cause)
msg - Error message text.cause - other exception that this one is wrapping.public PluginInstantiationException(java.lang.Throwable cause)
cause - other exception that this one is wrapping.Copyright © 2013 DuraSpace. All Rights Reserved.