TomlException

sealed class TomlException : RuntimeException

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

Types

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

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

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

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

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

An error occurred while parsing a TOML document.

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

An error occurred while serializing a TOML value.

Functions

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

Properties

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

Inheritors

ParseError
Link copied to clipboard
SerializationError
Link copied to clipboard
DecodingError
Link copied to clipboard
EncodingError
Link copied to clipboard