Class PluginException

java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.siea.jonion.exceptions.PluginException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PluginLoadException

public class PluginException extends Exception
Base exception for plugin-related errors (load, lifecycle, etc.).

Subclassed by more specific exceptions such as PluginLoadException. Allows callers to catch all plugin failures without depending on concrete types.

See Also:
  • Constructor Details

    • PluginException

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

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