class ForbiddenJsonException : JsonDetailedException
When service returns 403 HTTP status code. For instance if one seller is trying to access data of another seller. Or seller is trying to reach data available for admins only.
User: Kirill, Date: 21.09.13 12:03
ForbiddenJsonException()
Restrain to use parameterless constructor, use overloaded instead. This one is used only for serealization/deserealization processes. ForbiddenJsonException(message: String) ForbiddenJsonException(code: ForbiddenErrorType) ForbiddenJsonException(code: ForbiddenErrorType, message: String) |
var code: ForbiddenErrorType? |
|
val message: String |
var details: Map<String, String?>?
Sets exception details. For example, contains exception message or violated value. |
fun deserialize(jsonSource: String): JsonDetailedException
Performs deserialization. For serialization see JsonSerializable.serialize. |
|
fun serialize(): String
Performs serialization. For deserialization see JsonSerializable.serialize. |
open fun toString(): String |