TomlException

sealed class TomlException : RuntimeException

Base class of all exceptions that might be thrown during TOML processing.

Types

Link copied to clipboard
data class DecodingError(    val reason: String?,     val sourceValue: TomlValue,     val targetType: KType,     val cause: Throwable?) : TomlException

An error occurred while decoding a TOML value into some other Kotlin type.

Link copied to clipboard
data class EncodingError(val sourceValue: Any?, val cause: Throwable?) : TomlException

An error occurred while encoding a Kotlin value into a TOML value.

Link copied to clipboard
data class ParseError(    val errorDescription: String,     val line: Int,     val cause: Throwable?) : TomlException

An error occurred while parsing a TOML document.

Link copied to clipboard
data class SerializationError(val message: String, val cause: Throwable?) : TomlException

An error occurred while serializing a TOML value.

Functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open fun getLocalizedMessage(): String
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)

Properties

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

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard