org.drizzle.jdbc.internal
Enum SQLExceptionMapper.SQLStates
java.lang.Object
java.lang.Enum<SQLExceptionMapper.SQLStates>
org.drizzle.jdbc.internal.SQLExceptionMapper.SQLStates
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SQLExceptionMapper.SQLStates>
- Enclosing class:
- SQLExceptionMapper
public static enum SQLExceptionMapper.SQLStates
- extends java.lang.Enum<SQLExceptionMapper.SQLStates>
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
WARNING
public static final SQLExceptionMapper.SQLStates WARNING
NO_DATA
public static final SQLExceptionMapper.SQLStates NO_DATA
CONNECTION_EXCEPTION
public static final SQLExceptionMapper.SQLStates CONNECTION_EXCEPTION
FEATURE_NOT_SUPPORTED
public static final SQLExceptionMapper.SQLStates FEATURE_NOT_SUPPORTED
CARDINALITY_VIOLATION
public static final SQLExceptionMapper.SQLStates CARDINALITY_VIOLATION
DATA_EXCEPTION
public static final SQLExceptionMapper.SQLStates DATA_EXCEPTION
CONSTRAINT_VIOLATION
public static final SQLExceptionMapper.SQLStates CONSTRAINT_VIOLATION
INVALID_CURSOR_STATE
public static final SQLExceptionMapper.SQLStates INVALID_CURSOR_STATE
INVALID_TRANSACTION_STATE
public static final SQLExceptionMapper.SQLStates INVALID_TRANSACTION_STATE
INVALID_AUTHORIZATION
public static final SQLExceptionMapper.SQLStates INVALID_AUTHORIZATION
SQL_FUNCTION_EXCEPTION
public static final SQLExceptionMapper.SQLStates SQL_FUNCTION_EXCEPTION
TRANSACTION_ROLLBACK
public static final SQLExceptionMapper.SQLStates TRANSACTION_ROLLBACK
SYNTAX_ERROR_ACCESS_RULE
public static final SQLExceptionMapper.SQLStates SYNTAX_ERROR_ACCESS_RULE
INVALID_CATALOG
public static final SQLExceptionMapper.SQLStates INVALID_CATALOG
INTERRUPTED_EXCEPTION
public static final SQLExceptionMapper.SQLStates INTERRUPTED_EXCEPTION
UNDEFINED_SQLSTATE
public static final SQLExceptionMapper.SQLStates UNDEFINED_SQLSTATE
JAVA_SPECIFIC
public static final SQLExceptionMapper.SQLStates JAVA_SPECIFIC
DISTRIBUTED_TRANSACTION_ERROR
public static final SQLExceptionMapper.SQLStates DISTRIBUTED_TRANSACTION_ERROR
values
public static SQLExceptionMapper.SQLStates[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SQLExceptionMapper.SQLStates c : SQLExceptionMapper.SQLStates.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SQLExceptionMapper.SQLStates valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
fromString
public static SQLExceptionMapper.SQLStates fromString(java.lang.String group)
getSqlState
public java.lang.String getSqlState()
Copyright © 2012. All Rights Reserved.