VitalConfigException

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

Internal exception; thrown during VitalConfig lifecycles.

Inheritors

Constructors

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

Types

Link copied to clipboard
class CreateFile(fileName: String, cause: Throwable) : VitalConfigException

Internal exception; thrown when an exception occurs while creating the config file.

Link copied to clipboard
class CreateFileProcessor(fileName: String, processor: Class<out VitalConfig.Processor<*, *>>, cause: Throwable) : VitalConfigException

Internal exception; thrown when an exception occurs while instantiating the given VitalConfig.Info.processor.

Link copied to clipboard
class InjectField(field: Field, value: Any?, cause: Throwable) : VitalConfigException

Internal exception; thrown when an exception occurs while injecting a single property from the config file into the VitalConfig instance.

Link copied to clipboard
class InjectFields(fileName: String, processor: Class<out VitalConfig.Processor<*, *>>, cause: Throwable) : VitalConfigException

Internal exception; thrown when an exception occurs while injecting all properties from the config file into the VitalConfig instance.

Link copied to clipboard

Internal exception; thrown when an exception occurs while reading the config file.

Link copied to clipboard
class Save(fileName: String, cause: Throwable) : VitalConfigException

Internal exception; thrown when an exception occurs while saving the config via VitalConfig.save.

Properties

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