public enum ErrorResponse extends java.lang.Enum<ErrorResponse>
| Enum Constant and Description |
|---|
ERROR_2000 |
ERROR_2001 |
ERROR_2002 |
ERROR_2003 |
ERROR_2004 |
ERROR_2005 |
ERROR_2100 |
ERROR_2101 |
ERROR_2102 |
ERROR_2103 |
ERROR_2104 |
ERROR_2105 |
ERROR_2106 |
ERROR_2200 |
ERROR_2201 |
ERROR_2202 |
ERROR_2300 |
ERROR_2301 |
ERROR_2302 |
ERROR_2303 |
ERROR_2304 |
ERROR_2305 |
ERROR_2306 |
ERROR_2307 |
ERROR_2308 |
ERROR_2400 |
ERROR_2500 |
ERROR_2501 |
ERROR_2502 |
| Modifier and Type | Method and Description |
|---|---|
static ErrorResponse |
fromValue(int errorCode) |
static java.util.List<java.lang.Integer> |
getAllErrorCodes() |
int |
getCode() |
java.lang.String |
getMessage() |
java.lang.String |
toString() |
static ErrorResponse |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorResponse ERROR_2000
public static final ErrorResponse ERROR_2001
public static final ErrorResponse ERROR_2002
public static final ErrorResponse ERROR_2003
public static final ErrorResponse ERROR_2004
public static final ErrorResponse ERROR_2005
public static final ErrorResponse ERROR_2100
public static final ErrorResponse ERROR_2101
public static final ErrorResponse ERROR_2102
public static final ErrorResponse ERROR_2103
public static final ErrorResponse ERROR_2104
public static final ErrorResponse ERROR_2105
public static final ErrorResponse ERROR_2106
public static final ErrorResponse ERROR_2200
public static final ErrorResponse ERROR_2201
public static final ErrorResponse ERROR_2202
public static final ErrorResponse ERROR_2300
public static final ErrorResponse ERROR_2301
public static final ErrorResponse ERROR_2302
public static final ErrorResponse ERROR_2303
public static final ErrorResponse ERROR_2304
public static final ErrorResponse ERROR_2305
public static final ErrorResponse ERROR_2306
public static final ErrorResponse ERROR_2307
public static final ErrorResponse ERROR_2308
public static final ErrorResponse ERROR_2400
public static final ErrorResponse ERROR_2500
public static final ErrorResponse ERROR_2501
public static final ErrorResponse ERROR_2502
public static ErrorResponse[] values()
for (ErrorResponse c : ErrorResponse.values()) System.out.println(c);
public static ErrorResponse valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
public java.lang.String getMessage()
public static java.util.List<java.lang.Integer> getAllErrorCodes()
public static ErrorResponse fromValue(int errorCode)
public java.lang.String toString()
toString in class java.lang.Enum<ErrorResponse>Copyright © 2023. All rights reserved.