public enum ImageExceptionType extends Enum<ImageExceptionType>
| Enum Constant and Description |
|---|
NETWORK_EXCEPITON |
PARAM_EXCEPTION |
SERVER_EXCEPTION |
UNKNOWN_EXCEPTION |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode() |
String |
getExceptionStr() |
static ImageExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageExceptionType PARAM_EXCEPTION
public static final ImageExceptionType NETWORK_EXCEPITON
public static final ImageExceptionType SERVER_EXCEPTION
public static final ImageExceptionType UNKNOWN_EXCEPTION
public static ImageExceptionType[] values()
for (ImageExceptionType c : ImageExceptionType.values()) System.out.println(c);
public static ImageExceptionType 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 int getErrorCode()
public String getExceptionStr()
Copyright © 2019. All rights reserved.