public enum PostgreSQLState extends Enum<PostgreSQLState> implements org.apache.shardingsphere.infra.util.exception.external.sql.sqlstate.SQLState
| Enum Constant and Description |
|---|
DUPLICATE_DATABASE |
INVALID_PASSWORD |
PROTOCOL_VIOLATION |
SYNTAX_ERROR |
SYSTEM_ERROR |
UNDEFINED_COLUMN |
| Modifier and Type | Method and Description |
|---|---|
static PostgreSQLState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostgreSQLState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostgreSQLState PROTOCOL_VIOLATION
public static final PostgreSQLState SYNTAX_ERROR
public static final PostgreSQLState DUPLICATE_DATABASE
public static final PostgreSQLState INVALID_PASSWORD
public static final PostgreSQLState UNDEFINED_COLUMN
public static final PostgreSQLState SYSTEM_ERROR
public static PostgreSQLState[] values()
for (PostgreSQLState c : PostgreSQLState.values()) System.out.println(c);
public static PostgreSQLState 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 nullCopyright © 2023 The Apache Software Foundation. All rights reserved.