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

ValueNotValidJsonException

class ValueNotValidJsonException : JsonException

Thrown when some value of field fails validation. See com.srv4pos.server.api.exceptions.ValueNotValidJsonExceptionDetails for details. One field can have one or more violations.

Constructors

<init>

ValueNotValidJsonException()
ValueNotValidJsonException(details: List<ValueNotValidJsonExceptionDetails>)

Properties

details

var details: List<ValueNotValidJsonExceptionDetails>

message

val message: String

Inherited Properties

exceptionName

val exceptionName: String

responseCode

var responseCode: Int

Functions

deserialize

fun deserialize(jsonSource: String): JsonException

Performs deserialization. For serialization see JsonSerializable.serialize.

serialize

fun serialize(): String

Performs serialization. For deserialization see JsonSerializable.serialize.