|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PSQLState>
org.postgresql.util.PSQLState
public enum PSQLState
This class is used for holding SQLState codes.
Method Summary | |
---|---|
String |
getState()
|
static PSQLState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PSQLState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
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 |
Enum Constant Detail |
---|
public static final PSQLState UNKNOWN_STATE
public static final PSQLState TOO_MANY_RESULTS
public static final PSQLState NO_DATA
public static final PSQLState INVALID_PARAMETER_TYPE
public static final PSQLState CONNECTION_UNABLE_TO_CONNECT
public static final PSQLState CONNECTION_DOES_NOT_EXIST
public static final PSQLState CONNECTION_REJECTED
public static final PSQLState CONNECTION_FAILURE
public static final PSQLState CONNECTION_FAILURE_DURING_TRANSACTION
public static final PSQLState PROTOCOL_VIOLATION
public static final PSQLState COMMUNICATION_ERROR
public static final PSQLState NOT_IMPLEMENTED
public static final PSQLState DATA_ERROR
public static final PSQLState NUMERIC_VALUE_OUT_OF_RANGE
public static final PSQLState BAD_DATETIME_FORMAT
public static final PSQLState DATETIME_OVERFLOW
public static final PSQLState DIVISION_BY_ZERO
public static final PSQLState MOST_SPECIFIC_TYPE_DOES_NOT_MATCH
public static final PSQLState INVALID_PARAMETER_VALUE
public static final PSQLState INVALID_CURSOR_STATE
public static final PSQLState TRANSACTION_STATE_INVALID
public static final PSQLState ACTIVE_SQL_TRANSACTION
public static final PSQLState NO_ACTIVE_SQL_TRANSACTION
public static final PSQLState IN_FAILED_SQL_TRANSACTION
public static final PSQLState INVALID_SQL_STATEMENT_NAME
public static final PSQLState INVALID_AUTHORIZATION_SPECIFICATION
public static final PSQLState STATEMENT_NOT_ALLOWED_IN_FUNCTION_CALL
public static final PSQLState INVALID_SAVEPOINT_SPECIFICATION
public static final PSQLState SYNTAX_ERROR
public static final PSQLState UNDEFINED_COLUMN
public static final PSQLState UNDEFINED_OBJECT
public static final PSQLState WRONG_OBJECT_TYPE
public static final PSQLState NUMERIC_CONSTANT_OUT_OF_RANGE
public static final PSQLState DATA_TYPE_MISMATCH
public static final PSQLState UNDEFINED_FUNCTION
public static final PSQLState INVALID_NAME
public static final PSQLState CANNOT_COERCE
public static final PSQLState OUT_OF_MEMORY
public static final PSQLState OBJECT_NOT_IN_STATE
public static final PSQLState OBJECT_IN_USE
public static final PSQLState SYSTEM_ERROR
public static final PSQLState IO_ERROR
public static final PSQLState UNEXPECTED_ERROR
Method Detail |
---|
public static PSQLState[] values()
for (PSQLState c : PSQLState.values()) System.out.println(c);
public static PSQLState valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |