abstract class JsonException : RuntimeException, JsonSerializable, JsonDeserializable<JsonException>
Parent of all exceptions for server-api. User: Kirill Date: 05.07.13 15:30
JsonException() JsonException(responseCode: Int) |
val exceptionName: String |
|
open val message: String |
|
var responseCode: Int |
open fun deserialize(jsonSource: String): JsonException
Performs deserialization. For serialization see JsonSerializable.serialize. |
|
open fun serialize(): String
Performs serialization. For deserialization see JsonSerializable.serialize. |
class ConcurrentModificationJsonException : JsonException
Created by fasth on 14.10.2014. |
|
class ControlUnitCommunicationJsonException : JsonException, FriendlyException
When error has happened during transmission data. |
|
class ControlUnitUnavailableJsonException : JsonException, FriendlyException
When server is unable to reach the control unit device (for instance it's ejected from the server). |
|
class InvalidETagFormatJsonException : JsonException
Occurs when provided ETag format is not a quoted string with version inside. Created by fasth on 14.08.14. |
|
abstract class JsonDetailedException : JsonException
Parent for detailed exceptions. |
|
class NotFoundJsonException : JsonException
When service returns 404 HTTP status code. |
|
class OutdatedVersionJsonException : JsonException, FriendlyException
Means that server doesn't support the version at all, you have to update your app as soon as possible. User: Kirill Date: 23.07.13 15:02 |
|
class RequestEntityTooLargeJsonException : JsonException |
|
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. |
|
class VersionConflictJsonException : JsonException
Occurs when we upload data to the server but server contains more fresh data than we send. |