class TypeMismatchJsonException : JsonDetailedException
When some entity fails during type conversion. For example, passed java.lang.String as query param is not convertible to java.util.Date. Also occurs when there is a type mismatch during JSON parsing.
See TypeMismatchJsonException.getDetails for additional information.
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.
TypeMismatchJsonException() TypeMismatchJsonException(details: Map<String, String>) |
var details: Map<String, String?>?
Sets exception details. For example, contains exception message or violated value. |
|
open val message: String |
open fun deserialize(jsonSource: String): JsonDetailedException
Performs deserialization. For serialization see JsonSerializable.serialize. |
|
open fun serialize(): String
Performs serialization. For deserialization see JsonSerializable.serialize. |
|
open fun toString(): String |