JsonException

Thrown when a JsonValue is unable to wrap an object or unable to parse a JSON encoded String.

Constructors

Link copied to clipboard
constructor(@NonNull message: String)
Constructs a new JsonException with the current stack trace and the specified detail message.
constructor(@NonNull message: String, @Nullable cause: Throwable)
Constructs a new JsonException with the current stack trace, the specified detail message and the specified cause.

Inherited functions

Link copied to clipboard
fun addSuppressed(exception: Throwable)
Link copied to clipboard
Link copied to clipboard
open fun getCause(): Throwable
Link copied to clipboard
Link copied to clipboard
open fun getMessage(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun initCause(cause: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
Link copied to clipboard
open fun setStackTrace(stackTrace: Array<StackTraceElement>)
Link copied to clipboard
open fun toString(): String