public static enum KakaoParameterException.ERROR_CODE extends Enum<KakaoParameterException.ERROR_CODE>
Enum Constant and Description |
---|
CORE_PARAMETER_MISSING
필수 파라미터가 누락된 경우
|
DUPLICATE_OBJECTS_USED
같은 타입의 메시지가 두개 이상 존재하는 경우
|
JSON_PARSING_ERROR
JSON 파싱 도중 에러
|
MINIMUM_IMAGE_SIZE_REQUIRED
최소 이미지 사이즈보다 작은 경우
|
NOT_EXIST_IMAGE
존재하지 않는 이미지
|
UNKNOWN
정의되지 않은 에러
|
UNSUPPORTED_ENCODING
지원하지 않는 인코딩이 선언된 경우
|
Modifier and Type | Method and Description |
---|---|
static KakaoParameterException.ERROR_CODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KakaoParameterException.ERROR_CODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KakaoParameterException.ERROR_CODE CORE_PARAMETER_MISSING
public static final KakaoParameterException.ERROR_CODE DUPLICATE_OBJECTS_USED
public static final KakaoParameterException.ERROR_CODE JSON_PARSING_ERROR
public static final KakaoParameterException.ERROR_CODE MINIMUM_IMAGE_SIZE_REQUIRED
public static final KakaoParameterException.ERROR_CODE NOT_EXIST_IMAGE
public static final KakaoParameterException.ERROR_CODE UNKNOWN
public static final KakaoParameterException.ERROR_CODE UNSUPPORTED_ENCODING
public static KakaoParameterException.ERROR_CODE 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 static KakaoParameterException.ERROR_CODE[] values()
for (KakaoParameterException.ERROR_CODE c : KakaoParameterException.ERROR_CODE.values()) System.out.println(c);