Skip to content
Select language:English

Way-Fi 1.6.0

abstract class Json : WayFiException

Base class for all the exceptions thrown while reading a JSON file.

Inheritors

Types

Exception thrown when reading an invalid escape character in a string.

class InvalidEscape(code: Int, message: String) : WayFiException.Json

Exception thrown when reading an invalid escape character in a string.

class InvalidNumber(code: Int, message: String) : WayFiException.Json

Exception thrown when the currently read number is not valid.

class InvalidValue(code: Int, message: String) : WayFiException.Json

Exception thrown when the currently read value is not valid.

class UnexpectedEof(code: Int, message: String) : WayFiException.Json

Exception thrown when end of file is reached unexpectedly.

Exception thrown when the currently read token is not among those expected.

Exception thrown when the currently read value is not among those expected.

Properties

expect open val cause: Throwable?
val code: Int
expect open val message: String?