Constructors

Link copied to clipboard
constructor(message: String, cause: Throwable? = null)

Types

Link copied to clipboard
class CreateMarker(worldName: String, instanceId: UUID, cause: Throwable? = null) : VitalMinigameInstanceException

Internal exception; thrown when the internal marker file for an instance world could not be created.

Link copied to clipboard
class Delete(worldName: String, instanceId: UUID) : VitalMinigameInstanceException

Internal exception; thrown when the world of an instance could not be deleted.

Link copied to clipboard

Internal exception; thrown when an exception occurs while executing the after deletion action during instance unregistration.

Link copied to clipboard

Internal exception; thrown when an exception occurs while executing the after register action.

Link copied to clipboard

Internal exception; thrown when an exception occurs while executing the before deletion action during instance unregistration.

Link copied to clipboard

Internal exception; thrown when an exception occurs while loading a template world.

Link copied to clipboard

Internal exception; thrown when a template world is loaded while the plugin is disabled.

Link copied to clipboard
class Register(instanceId: UUID, instanceClass: Class<out VitalMinigameInstance>, cause: Throwable) : VitalMinigameInstanceException

Internal exception; thrown when an exception occurs during instance registration.

Link copied to clipboard
class RegisterEventHandlers(eventHandlerClass: Class<*>, instanceId: UUID, instanceClass: Class<out VitalMinigameInstance>, cause: Throwable) : VitalMinigameInstanceException

Internal exception; thrown when an exception occurs during event handler registration.

Link copied to clipboard
class UnloadWorld(worldName: String, instanceId: UUID) : VitalMinigameInstanceException

Internal exception; thrown when the world of an instance could not be unloaded.

Link copied to clipboard
class Unregister(instanceId: UUID, instanceClass: Class<out VitalMinigameInstance>, cause: Throwable) : VitalMinigameInstanceException

Internal exception; thrown when an exception occurs during instance unregistration.

Properties

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