public enum SQLStates extends Enum<SQLStates>
Enum Constant and Description |
---|
ER_NO_SUCH_TABLE |
Modifier and Type | Method and Description |
---|---|
String |
getState() |
static SQLStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLStates ER_NO_SUCH_TABLE
public static SQLStates[] values()
for (SQLStates c : SQLStates.values()) System.out.println(c);
public static SQLStates 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 String getState()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.