Exception | Description |
---|---|
ActivationClosedJsonException |
When activation is in closed state.
|
ActivationStillIssuedJsonException |
When activation is still in issue state.
|
CashRegisterNameIsNotUniqueJsonException |
When specified cash register name is not unique.
|
ConcurrentModificationJsonException |
Created by fasth on 14.10.2014.
|
ControlUnitCommunicationJsonException |
When error has happend during transmission data.
|
ControlUnitIsNotSetJsonException |
When control unit is not set.
|
ControlUnitIsUsedByActivationsJsonException |
When trying to delete the control unit which belongs to at least one activation.
|
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).
|
DayClosedJsonException |
When current day is closed.
|
DayNotClosedJsonException |
When current day is not closed.
|
ForbiddenJsonException |
When service returns 403 HTTP status code.
|
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.
|
JsonException |
Parent of all exceptions for server-api.
|
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.
|
ReceiptAlreadyPrintedJsonException |
When the receipt is already printed.
|
ReceiptNotPrintedJsonException |
When day has at least one not printed receipt.
|
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.
|
RegistrationNotFoundJsonException |
When registration with given name is not found.
|
ReportAlreadyPrintedJsonException |
When the report is already printed.
|
ReportNotPrintedJsonException |
When day has not printed report.
|
SellerAlreadyExistsException |
User: Kirill.
|
SellerNotFoundJsonException |
When seller with given country and corporate id is not found.
|
ServiceUnavailableJsonException |
Dropped by the server if server is off (for instance server is restarting or in a service mode).
|
UnauthorizedJsonException |
Dropped by server when user tries access resource without any authentications.
|
UserAlreadyExistsJsonException |
In case of creation user with the same name.
|
ValidationJsonException |
When basic check if input data fails.
|
VersionConflictJsonException |
Occurs when we upload data to the server but server contains more fresh data than we send.
|
WrongActivationPeriodJsonException |
When activation is expired or not takes effect yet.
|
WrongUsernameOrPasswordJsonException |
User: Kirill, Date: 19.09.13 13:24.
|
Copyright © 2015. All rights reserved.