public static enum SQLExceptionMapper.SQLStates extends Enum<SQLExceptionMapper.SQLStates>
Modifier and Type | Method and Description |
---|---|
static SQLExceptionMapper.SQLStates |
fromString(String group) |
String |
getSqlState() |
static SQLExceptionMapper.SQLStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLExceptionMapper.SQLStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLExceptionMapper.SQLStates WARNING
public static final SQLExceptionMapper.SQLStates NO_DATA
public static final SQLExceptionMapper.SQLStates CONNECTION_EXCEPTION
public static final SQLExceptionMapper.SQLStates FEATURE_NOT_SUPPORTED
public static final SQLExceptionMapper.SQLStates CARDINALITY_VIOLATION
public static final SQLExceptionMapper.SQLStates DATA_EXCEPTION
public static final SQLExceptionMapper.SQLStates CONSTRAINT_VIOLATION
public static final SQLExceptionMapper.SQLStates INVALID_CURSOR_STATE
public static final SQLExceptionMapper.SQLStates INVALID_TRANSACTION_STATE
public static final SQLExceptionMapper.SQLStates INVALID_AUTHORIZATION
public static final SQLExceptionMapper.SQLStates SQL_FUNCTION_EXCEPTION
public static final SQLExceptionMapper.SQLStates TRANSACTION_ROLLBACK
public static final SQLExceptionMapper.SQLStates SYNTAX_ERROR_ACCESS_RULE
public static final SQLExceptionMapper.SQLStates INVALID_CATALOG
public static final SQLExceptionMapper.SQLStates INTERRUPTED_EXCEPTION
public static final SQLExceptionMapper.SQLStates UNDEFINED_SQLSTATE
public static final SQLExceptionMapper.SQLStates TIMEOUT_EXCEPTION
public static final SQLExceptionMapper.SQLStates DISTRIBUTED_TRANSACTION_ERROR
public static SQLExceptionMapper.SQLStates[] values()
for (SQLExceptionMapper.SQLStates c : SQLExceptionMapper.SQLStates.values()) System.out.println(c);
public static SQLExceptionMapper.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 static SQLExceptionMapper.SQLStates fromString(String group)
public String getSqlState()
Copyright © 2015. All rights reserved.