Package com.github.hsnghrld.idpay
Enum ErrorCode
- java.lang.Object
-
- java.lang.Enum<ErrorCode>
-
- com.github.hsnghrld.idpay.ErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorCode>
public enum ErrorCode extends Enum<ErrorCode>
-
-
Field Summary
Fields Modifier and Type Field Description static String[]ALL_ERROR_CODES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDesc_en()StringgetDesc_fa()@NotNull StringtoString()static @NotNull ArrayList<String>toString(@NotNull Collection<ErrorCode> statuses)static ErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_0
public static final ErrorCode _0
-
_11
public static final ErrorCode _11
-
_12
public static final ErrorCode _12
-
_13
public static final ErrorCode _13
-
_14
public static final ErrorCode _14
-
_21
public static final ErrorCode _21
-
_22
public static final ErrorCode _22
-
_23
public static final ErrorCode _23
-
_24
public static final ErrorCode _24
-
_31
public static final ErrorCode _31
-
_32
public static final ErrorCode _32
-
_33
public static final ErrorCode _33
-
_34
public static final ErrorCode _34
-
_35
public static final ErrorCode _35
-
_36
public static final ErrorCode _36
-
_37
public static final ErrorCode _37
-
_38
public static final ErrorCode _38
-
_41
public static final ErrorCode _41
-
_42
public static final ErrorCode _42
-
_43
public static final ErrorCode _43
-
_51
public static final ErrorCode _51
-
_52
public static final ErrorCode _52
-
_53
public static final ErrorCode _53
-
_54
public static final ErrorCode _54
-
-
Field Detail
-
ALL_ERROR_CODES
public static final String[] ALL_ERROR_CODES
-
-
Method Detail
-
values
public static ErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ErrorCode c : ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getDesc_en
public String getDesc_en()
-
getDesc_fa
public String getDesc_fa()
-
toString
@NotNull public static @NotNull ArrayList<String> toString(@NotNull @NotNull Collection<ErrorCode> statuses)
-
-