Class 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 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.