apidocs / com.srv4pos.server.api.exceptions / MessageNotReadableJsonException

MessageNotReadableJsonException

class MessageNotReadableJsonException : JsonDetailedException

When sent JSON is failed to parse.

NOTE: this is out of ordinary situation and user shouldn't see it. Message is not human-readable and intended solely to give all required information to developer.

Constructors

<init>

MessageNotReadableJsonException()
MessageNotReadableJsonException(message: String)
MessageNotReadableJsonException(details: Map<String, String>)

Inherited Properties

details

var details: Map<String, String?>?

Sets exception details. For example, contains exception message or violated value.

message

open val message: String

Inherited Functions

deserialize

open fun deserialize(jsonSource: String): JsonDetailedException

Performs deserialization. For serialization see JsonSerializable.serialize.

serialize

open fun serialize(): String

Performs serialization. For deserialization see JsonSerializable.serialize.

toString

open fun toString(): String