VitalPluginException

abstract class VitalPluginException(message: String) : RuntimeException

Internal exception; thrown when an error occurrs during VitalPlugin lifecycles.

Inheritors

Constructors

Link copied to clipboard
constructor(message: String)

Types

Link copied to clipboard
class InvalidMainPluginClassType(mainClass: Class<*>, pluginLoaderClass: Class<*>) : VitalPluginException

Internal exception; thrown when the detected main class is not a valid subclass of VitalPlugin.

Link copied to clipboard
class MultipleMainPluginClasses(mainClass: Class<*>, pluginLoaderClass: Class<*>) : VitalPluginException

Internal exception; thrown when multiple classes annotated with '@VitalPlugin.Info' while enabling the plugin.

Link copied to clipboard
class NoMainPluginClass(mainClass: Class<*>, pluginLoaderClass: Class<*>) : VitalPluginException

Internal exception; thrown when no main class was found while enabling the plugin.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?