Package dev.siea.jonion.exceptions
Class PluginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.siea.jonion.exceptions.PluginException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PluginLoadException
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 Summary
ConstructorsConstructorDescriptionPluginException(String message, Exception e) Constructs a new PluginException with the specified detail message and cause.PluginException(String message, Throwable cause) Constructs a new PluginException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PluginException
Constructs a new PluginException with the specified detail message and cause.- Parameters:
message- the detail messagee- the cause
-
PluginException
Constructs a new PluginException with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause
-