public enum SMSActivateWrongParameter extends Enum<SMSActivateWrongParameter>
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getEnglishMessage()
Returns the error description on english.
|
@NotNull String |
getMessage()
Returns the single concatenation description.
|
@NotNull String |
getResponse()
Returns the response from server.
|
@NotNull String |
getRussianMessage()
Returns the error description on russian.
|
static @NotNull SMSActivateWrongParameter |
getWrongParameterByName(@NotNull String name)
Returns the wrongParameter by name.
|
boolean |
isFromServer()
Returns the true if status from server else false.
|
static SMSActivateWrongParameter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SMSActivateWrongParameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMSActivateWrongParameter BAD_ACTION
public static final SMSActivateWrongParameter BAD_SERVICE
public static final SMSActivateWrongParameter BAD_KEY
public static final SMSActivateWrongParameter BAD_STATUS
public static final SMSActivateWrongParameter EMPTY_KEY
public static final SMSActivateWrongParameter INCORRECT_STATUS
public static final SMSActivateWrongParameter INVALID_PHONE
public static final SMSActivateWrongParameter NOT_AVAILABLE
public static final SMSActivateWrongParameter NO_ID_RENT
public static final SMSActivateWrongParameter REPEAT_ADDITIONAL_SERVICE
public static final SMSActivateWrongParameter WRONG_ACTIVATION_ID
public static final SMSActivateWrongParameter WRONG_ADDITIONAL_SERVICE
public static final SMSActivateWrongParameter WRONG_COUNTRY_ID
public static final SMSActivateWrongParameter WRONG_EXCEPTION_PHONE
public static final SMSActivateWrongParameter WRONG_OPERATOR
public static final SMSActivateWrongParameter WRONG_SECURITY
public static final SMSActivateWrongParameter WRONG_SERVICE
public static final SMSActivateWrongParameter UNKNOWN
public static SMSActivateWrongParameter[] values()
for (SMSActivateWrongParameter c : SMSActivateWrongParameter.values()) System.out.println(c);
public static SMSActivateWrongParameter 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 boolean isFromServer()
@NotNull public @NotNull String getRussianMessage()
@NotNull public @NotNull String getEnglishMessage()
@NotNull public @NotNull String getMessage()
@NotNull public @NotNull String getResponse()
@NotNull public static @NotNull SMSActivateWrongParameter getWrongParameterByName(@NotNull @NotNull String name)
name - name wrong parameter.Copyright © 2020. All rights reserved.