public enum InconsistentDataErrorType extends Enum<InconsistentDataErrorType>
InconsistentDataJsonException
.Enum Constant and Description |
---|
ACTIVATION_APPLICATION_PACKAGE_MUST_BE_NULL_OR_EQUAL
Occurs during
ActivationService.create(com.srv4pos.server.api.activation.ActivationCreationInfo) ,
when ActivationCreationInfo .productionNumber is not null and
applicationPackage of Installation (which is found by productionNumber) is not equal |
ACTIVATION_CODE_ALREADY_EXISTS
Occurs during activation process when passed activation has its signature already.
|
ACTIVATION_CODE_WRONG_LENGTH
Occurs during activation process when activation code is tested.
|
ACTIVATION_PRODUCTION_NUMBER_SHOULD_BE_NULL
Occurs if
InstallationInfo for ActivationAdvancedInfo.registrationAdvancedInfo.registrationInfo.country and ...corporateId exists and
ActivationAdvancedInfo.registrationAdvancedInfo.sellerInfo is present. |
ACTIVATION_PRODUCTION_NUMBER_SHOULD_BE_NULL_OR_EQUAL
Occurs if Seller for ActivationAdvancedInfo.registrationAdvancedInfo.registrationInfo.country and ...corporateId exists and
ActivationAdvancedInfo.registrationAdvancedInfo.sellerInfo is present.
|
ACTIVATION_STATUS_IS_NOT_MODIFIABLE_BY_PUT
Occurs in case of attempting to modify activation status by 'PUT' http method.
|
IDENTIFIER_LENGTH_VIOLATION
Occurs when passed identifier (for instance, seller identifier) doesn't fit into length requirements.
|
LOCAL_AND_SERVER_VERSIONS_INCONSISTENCY
Occurs when passed version is more then server's one.
|
PRODUCTION_NUMBER_AND_CONNECTION_MISMATCH
Occurs during connection to activation process when connection production number is not equal with installation.
|
PRODUCTION_NUMBER_AND_DEVICE_ID_MISMATCH
|
QUERY_PARAM_CANT_BE_NEGATIVE
Occurs if passed query parameter is negative, but positive of zero value is expected.
|
REGISTRATION_EXISTS_FOR_SELLER_AND_INSTALLATION
|
SELLER_HAS_NOT_REGISTRATION
Occurs when passed by query param cash register name doesn't belong to the passed seller.
|
SELLER_SHOULD_BE_PROVIDED_FOR_CR
Occurs when cash register name passed as query param without specified seller.
|
SERVER_CANT_BE_REMOVED
Occurs in case of attempting to remove current working server.
|
SERVER_IS_OVERLOADED
Occurs when retrieving data bulk is too large.
|
SV_MISMATCH_IN_APP_DESC_AND_CU
Occurs when references to software vendor in application description and control unit doesn't match.
|
URL_AND_BODY_IDENTIFIERS_MISMATCH
Occurs when identifier in URL and body is not the same.
|
VALID_FROM_AND_VALID_TO_INCONSISTENCY
Occurs when some inconsistency was detected during 'ValidFrom' or 'ValidTo' validation.
|
WORKING_WITH_CU_IS_NOT_SUPPORTED_BY_APP
Occurs when application without ability to work with control units attempts to send a kd.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
message()
Returns default human-readable message describing failure if any.
|
static InconsistentDataErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InconsistentDataErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InconsistentDataErrorType SV_MISMATCH_IN_APP_DESC_AND_CU
See JsonDetailedException.getDetails()
for describing message.
public static final InconsistentDataErrorType VALID_FROM_AND_VALID_TO_INCONSISTENCY
See JsonDetailedException.getDetails()
for describing message.
public static final InconsistentDataErrorType ACTIVATION_CODE_WRONG_LENGTH
public static final InconsistentDataErrorType ACTIVATION_CODE_ALREADY_EXISTS
public static final InconsistentDataErrorType ACTIVATION_STATUS_IS_NOT_MODIFIABLE_BY_PUT
public static final InconsistentDataErrorType QUERY_PARAM_CANT_BE_NEGATIVE
See JsonDetailedException.getDetails()
for describing message containing violated param.
public static final InconsistentDataErrorType SELLER_HAS_NOT_REGISTRATION
See KdFacetService.list(Integer, Integer, String, String, String, Long)
for example.
public static final InconsistentDataErrorType SELLER_SHOULD_BE_PROVIDED_FOR_CR
See KdFacetService.list(Integer, Integer, String, String, String, Long)
for example.
public static final InconsistentDataErrorType SERVER_IS_OVERLOADED
KdFacetService.list(Integer, Integer, String, String, String, Long)
for example.
See JsonDetailedException.getDetails()
for describing message containing current limit.
public static final InconsistentDataErrorType IDENTIFIER_LENGTH_VIOLATION
Default message is not provided.
See JsonDetailedException.getDetails()
for describing message.
public static final InconsistentDataErrorType SERVER_CANT_BE_REMOVED
public static final InconsistentDataErrorType URL_AND_BODY_IDENTIFIERS_MISMATCH
Default message is not provided.
See JsonDetailedException.getDetails()
for describing message.
public static final InconsistentDataErrorType LOCAL_AND_SERVER_VERSIONS_INCONSISTENCY
See JsonDetailedException.getDetails()
for describing message with versions information.
public static final InconsistentDataErrorType WORKING_WITH_CU_IS_NOT_SUPPORTED_BY_APP
See JsonDetailedException.getDetails()
for describing message with versions information.
public static final InconsistentDataErrorType PRODUCTION_NUMBER_AND_CONNECTION_MISMATCH
public static final InconsistentDataErrorType PRODUCTION_NUMBER_AND_DEVICE_ID_MISMATCH
ActivationService.create(com.srv4pos.server.api.activation.ActivationCreationInfo)
.
Indicates that passed production number doesn't belong to device.public static final InconsistentDataErrorType ACTIVATION_PRODUCTION_NUMBER_SHOULD_BE_NULL
InstallationInfo
for ActivationAdvancedInfo.registrationAdvancedInfo.registrationInfo.country and ...corporateId exists and
ActivationAdvancedInfo.registrationAdvancedInfo.sellerInfo is present.public static final InconsistentDataErrorType ACTIVATION_PRODUCTION_NUMBER_SHOULD_BE_NULL_OR_EQUAL
public static final InconsistentDataErrorType ACTIVATION_APPLICATION_PACKAGE_MUST_BE_NULL_OR_EQUAL
ActivationService.create(com.srv4pos.server.api.activation.ActivationCreationInfo)
,
when ActivationCreationInfo
.productionNumber is not null and
applicationPackage of Installation (which is found by productionNumber) is not equalpublic static final InconsistentDataErrorType REGISTRATION_EXISTS_FOR_SELLER_AND_INSTALLATION
ActivationService.create(com.srv4pos.server.api.activation.ActivationCreationInfo)
.
Indicates that registration already exists for the same seller and installation.public static InconsistentDataErrorType[] values()
for (InconsistentDataErrorType c : InconsistentDataErrorType.values()) System.out.println(c);
public static InconsistentDataErrorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract String message()
String
.UnsupportedOperationException
- if there is no message provided.Copyright © 2016. All rights reserved.