public static enum SomServicesWs.ErrorCodes extends Enum<SomServicesWs.ErrorCodes>
Enum Constant and Description |
---|
ACTIVATION_INCORRECT
The given activationData parameter is incorrect or not valid anymore.
|
ACTIVATION_NOT_AFTER_HAS_EXPIRED
Deprecated.
This error code is not in use.
|
CHALLENGE_TIMEOUT
The given challenge parameter is expired.
|
CHALLENGE_WRONG
The given challenge parameter is incorrect.
|
INCOMPLETE_TOKENDATA
A token contains inconsistent data.
|
INTERNAL_SERVER_ERROR
Internal error.
|
INVALID_ACTIVATION_NOT_AFTER
Deprecated.
This error code is not in use.
|
INVALID_ACTIVATIONCODE
The given activationData parameter is null or empty.
|
INVALID_ATC
The given atc parameter is null or the atc is out the range 0 until 65536.
|
INVALID_OTP
The given otp parameter is null, has a wrong length or contains invalid characters.
|
INVALID_OTP_PORTALDATA
The given portalData parameter is null.
|
INVALID_OTP_USERDATA
The given userData parameter is null.
|
INVALID_TOKENSNR
The given tokenSnr parameter is null or empty.
|
INVALID_USERID
The given userID parameter is null or empty.
|
OTP_OR_VISDATA_OUT_OF_RANGE
The given otp parameter or portalData parameter is invalid.
|
OTP_PORTALDATA_WRONG
The given portalData parameter is incomplete.
|
OTP_WRONG
The given otp was incorrect or the ATC was less than the value stored for this token in database.
|
PERMISSION_DENIED
Deprecated.
This error code is not in use.
|
TOKEN_ALREADY_ASSIGNED_TO_USER
The token according to the given tokenSnr parameter is already assigned to another user.
|
TOKEN_DOES_NOT_EXIST
The token according to the given tokenSnr parameter does not exist.
|
TOKEN_WRONG_STATE
The token state is invalid.
|
USER_ALREADY_HAS_MAX_NUMBER_OF_TOKENS
The given user already has reached the maximum number of token.
|
USER_DOES_NOT_EXIST
No user does exist according to the given userID parameter.
|
Modifier and Type | Method and Description |
---|---|
static SomServicesWs.ErrorCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SomServicesWs.ErrorCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SomServicesWs.ErrorCodes INTERNAL_SERVER_ERROR
public static final SomServicesWs.ErrorCodes PERMISSION_DENIED
public static final SomServicesWs.ErrorCodes INVALID_USERID
public static final SomServicesWs.ErrorCodes INVALID_TOKENSNR
public static final SomServicesWs.ErrorCodes INVALID_ACTIVATION_NOT_AFTER
public static final SomServicesWs.ErrorCodes INVALID_ACTIVATIONCODE
public static final SomServicesWs.ErrorCodes INVALID_OTP
public static final SomServicesWs.ErrorCodes INVALID_ATC
public static final SomServicesWs.ErrorCodes ACTIVATION_INCORRECT
public static final SomServicesWs.ErrorCodes ACTIVATION_NOT_AFTER_HAS_EXPIRED
public static final SomServicesWs.ErrorCodes OTP_OR_VISDATA_OUT_OF_RANGE
public static final SomServicesWs.ErrorCodes INVALID_OTP_PORTALDATA
public static final SomServicesWs.ErrorCodes OTP_PORTALDATA_WRONG
public static final SomServicesWs.ErrorCodes INVALID_OTP_USERDATA
public static final SomServicesWs.ErrorCodes OTP_WRONG
public static final SomServicesWs.ErrorCodes USER_DOES_NOT_EXIST
public static final SomServicesWs.ErrorCodes USER_ALREADY_HAS_MAX_NUMBER_OF_TOKENS
public static final SomServicesWs.ErrorCodes TOKEN_ALREADY_ASSIGNED_TO_USER
public static final SomServicesWs.ErrorCodes TOKEN_WRONG_STATE
public static final SomServicesWs.ErrorCodes TOKEN_DOES_NOT_EXIST
public static final SomServicesWs.ErrorCodes CHALLENGE_WRONG
public static final SomServicesWs.ErrorCodes CHALLENGE_TIMEOUT
public static final SomServicesWs.ErrorCodes INCOMPLETE_TOKENDATA
public static SomServicesWs.ErrorCodes[] values()
for (SomServicesWs.ErrorCodes c : SomServicesWs.ErrorCodes.values()) System.out.println(c);
public static SomServicesWs.ErrorCodes 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 nullCopyright © 2022 KOBIL Systems GmbH. All rights reserved.