public enum InconsistentDataErrorType extends Enum<InconsistentDataErrorType>
InconsistentDataJsonException
.Enum Constant and Description |
---|
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_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.
|
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 don'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
Default message is not provided.
See JsonDetailedException.getDetails()
for describing message.
public static final InconsistentDataErrorType VALID_FROM_AND_VALID_TO_INCONSISTENCY
Default message is not provided.
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
Default message is not provided.
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.
Default message is not provided.
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
Default message is not provided.
See JsonDetailedException.getDetails()
for describing message with versions information.
public static final InconsistentDataErrorType WORKING_WITH_CU_IS_NOT_SUPPORTED_BY_APP
Default message is not provided.
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.orderActivation(com.srv4pos.server.api.activation.ActivationOrderInfo)
.
Indicates that passed production number doesn't belong to device.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.