VitalPlayerException

abstract class VitalPlayerException(message: String, cause: Throwable? = null) : RuntimeException

Internal exception; thrown during VitalPlayer lifecycle.

Inheritors

Constructors

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

Types

Link copied to clipboard
class AlreadyExists(playerClass: Class<*>, playerUniqueId: UUID) : VitalPlayerException

Internal exception; thrown when an instance of a custom player class was created even though one already exists.

Link copied to clipboard
class CheckPlayerClass(playerClassName: String, cause: Throwable) : VitalPlayerException

Internal exception; thrown when an exception occurs while checking the configured custom Vital player class.

Link copied to clipboard
class Create(playerClass: Class<*>, playerUniqueId: UUID, cause: Throwable) : VitalPlayerException

Internal exception; thrown when an exception occurred during instantiation of the configured custom player class.

Link copied to clipboard
class InvalidClass(playerClass: Class<*>, cause: Throwable) : VitalPlayerException

Internal exception; thrown when the configured custom player class has an invalid signature.

Properties

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