Class PluginLoadException

All Implemented Interfaces:
Serializable

public class PluginLoadException extends PluginException
Thrown when a plugin cannot be loaded or instantiated (e.g. class not found, instantiation error, or dependency failure).

Used by PluginWrapper.load() and PluginFactory.createPlugin(dev.siea.jonion.descriptor.PluginDescriptor, dev.siea.jonion.loader.CustomClassLoader) when the plugin main class cannot be loaded or its constructor fails.

See Also:
  • Constructor Details

    • PluginLoadException

      public PluginLoadException(String message, Exception e)
      Constructs a new PluginLoadException with the specified detail message and cause.
      Parameters:
      message - the detail message
      e - the cause
    • PluginLoadException

      public PluginLoadException(String message, Throwable cause)
      Constructs a new PluginLoadException with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause