Class | Description |
---|---|
ValueNotValidJsonExceptionDetails |
Class that describing info about individual violation.
|
Exception | Description |
---|---|
ConcurrentModificationJsonException |
Created by fasth on 14.10.2014.
|
ControlUnitCommunicationJsonException |
When error has happened during transmission data.
|
ControlUnitReceiptJsonException |
The details contains three fields:
command
response
code
The code is one of the following:
InternLoggFull24(24)
InternaRaknareSaturerade23(23)
FaltForekommerEfterSistaCRC22(22)
FelaktigtForhallandeForsaljRetur21(21)
PowerFailAbort20(20)
InterntSkrivfel19(19)
InterntSkrivfel18(18)
InterntSkrivfel17(17)
InterntSkrivfel16(16)
InterntSkrivfel15(15)
AntalAnvandareHarOverskridits14(14)
FelaktigMoms4_13(13)
FelaktigMoms3_12(12)
FelaktigMoms2_11(11)
FelaktigMoms1_10(10)
FelaktigtForsaljningsbelopp9(9)
FelaktigtReturbelopp8(8)
KvittotypSaknas7(7)
FelaktigKvittotyp6(6)
FelaktigtLopnummer5(5)
FelaktigtKassaID4(4)
FelaktigtOrganisationsnummer3(3)
FelaktigtDatumTid2(2)
FelAntalArgument1(1)
OK0(0)
FelaktigLangd_1(-1)
CRCError_2(-2)
OkantKommando_3(-3)
.
|
ControlUnitUnavailableJsonException |
When server is unable to reach the control
unit device (for instance it's ejected from the server).
|
ForbiddenJsonException |
When service returns 403 HTTP status code.
|
HttpHeaderMissingJsonException |
If request param doesn't contain required http header.
|
InconsistentDataJsonException |
When data sent to the server is in inconsistent state.
|
InternalServerErrorJsonException |
In case of something wrong is going on the server.
|
InvalidETagFormatJsonException |
Occurs when provided ETag format is not a quoted string with version inside.
|
MessageNotReadableJsonException |
When sent JSON is failed to parse.
|
NonUniqueJsonException |
When passed data violates some unique constraint.
|
NotFoundJsonException |
When service returns 404 HTTP status code.
|
NotImplementedJsonException |
Thrown by any method.
|
OutdatedVersionJsonException |
Means that server doesn't support the version at all, you have to update your app as soon as possible.
|
ReferenceNotFoundJsonException |
This exception occurs when SomethingInfo dto class contains a field which references to another entity
and the algorithm assumes it has to be on the server but it doesn't.
|
RequestMethodNotSupportedJsonException | |
ServiceUnavailableJsonException |
Dropped by the server if server is off (for instance server is restarting or in a service mode).
|
TypeMismatchJsonException |
When some entity fails during type conversion.
|
UnauthorizedJsonException |
Dropped by server when user tries access resource without any authentications.
|
UnprocessableEntityJsonException |
This exception occurs when every entity field passes validation but there is a logical (semantical) violation.
|
ValueNotValidJsonException |
Thrown when some value of field fails validation.
|
VersionConflictJsonException |
Occurs when we upload data to the server but server contains more fresh data than we send.
|
Copyright © 2016. All rights reserved.