public static enum DatabaseFormatException.ReasonCode extends java.lang.Enum<DatabaseFormatException.ReasonCode>
| Enum Constant and Description |
|---|
DATABASE_READ_ERROR |
INVALID_FILE_CONTENT |
TOO_HIGH_FILE_VERSION |
TOO_LOW_FILE_VERSION |
UNKOWN |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseFormatException.ReasonCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseFormatException.ReasonCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseFormatException.ReasonCode UNKOWN
public static final DatabaseFormatException.ReasonCode TOO_HIGH_FILE_VERSION
public static final DatabaseFormatException.ReasonCode TOO_LOW_FILE_VERSION
public static final DatabaseFormatException.ReasonCode INVALID_FILE_CONTENT
public static final DatabaseFormatException.ReasonCode DATABASE_READ_ERROR
public static DatabaseFormatException.ReasonCode[] values()
for (DatabaseFormatException.ReasonCode c : DatabaseFormatException.ReasonCode.values()) System.out.println(c);
public static DatabaseFormatException.ReasonCode 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 null