public class PluginInstantiationException extends 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.
PluginService,
Serialized Form| Constructor and Description |
|---|
PluginInstantiationException(String msg) |
PluginInstantiationException(String msg,
Throwable cause) |
PluginInstantiationException(Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PluginInstantiationException(String msg)
msg - Error message text.public PluginInstantiationException(String msg, Throwable cause)
msg - Error message text.cause - other exception that this one is wrapping.public PluginInstantiationException(Throwable cause)
cause - other exception that this one is wrapping.Copyright © 2022 LYRASIS. All rights reserved.