org.eigenbase.sql
Enum SqlStateCodes
java.lang.Object
java.lang.Enum<SqlStateCodes>
org.eigenbase.sql.SqlStateCodes
- All Implemented Interfaces:
- Serializable, Comparable<SqlStateCodes>
public enum SqlStateCodes
- extends Enum<SqlStateCodes>
Contains Glossary.Sql2003
SQL state codes. Sql
Sate codes are defined in
@sql.2003 Part 2 Section 23.1
- Since:
- Mar 30, 2005
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/sql/SqlStateCodes.java#10 $
- Author:
- Wael Chatila
CardinalityViolation
public static final SqlStateCodes CardinalityViolation
NullValueNotAllowed
public static final SqlStateCodes NullValueNotAllowed
NumericValueOutOfRange
public static final SqlStateCodes NumericValueOutOfRange
msg
private final String msg
stateClass
private final String stateClass
stateSubClass
private final String stateSubClass
values
public static final SqlStateCodes[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(SqlStateCodes c : SqlStateCodes.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static SqlStateCodes valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
getStateClass
public String getStateClass()
getStateSubClass
public String getStateSubClass()
getState
public String getState()