class NonUniqueJsonException : JsonDetailedException
When passed data violates some unique constraint.
Details can have more then one violated field, it means that constraint is composite.
NonUniqueJsonException() NonUniqueJsonException(nonUniqueFieldName: String) NonUniqueJsonException(compositeUniqueList: List<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 |
const val MESSAGE_NOT_UNIQUE: String |