ConfigException

class ConfigException(val path: Path, message: String, cause: Throwable? = null) : RuntimeException

Thrown when a configuration file cannot be loaded, parsed, or saved.

The message is written for server administrators and always includes the file path so they know which file to inspect. The original cause (if any) carries the technical details for developers.

Constructors

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

Properties

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

The configuration file that triggered this error

Link copied to clipboard
Link copied to clipboard