All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.javalin.core.plugin.PluginLifecycleViolationException.kt Maven / Gradle / Ivy

There is a newer version: 6.2.0
Show newest version
package io.javalin.core.plugin

abstract class PluginLifecycleViolationException(
        open val pluginClass: Class,
        override val message: String
) : RuntimeException("Error in ${pluginClass.canonicalName}: $message")

data class PluginInitLifecycleViolationException(override val pluginClass: Class) : PluginLifecycleViolationException(
        pluginClass,
        "It is not allowed to register handlers during the 'Init' lifecycle. Please use the 'Apply' lifecycle instead."
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy