public enum JdbcErrorCode extends Enum<JdbcErrorCode> implements ErrorCodeSupplier
| Enum Constant and Description |
|---|
JDBC_ERROR |
JDBC_NON_TRANSIENT_ERROR |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
toErrorCode() |
static JdbcErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JdbcErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JdbcErrorCode JDBC_ERROR
public static final JdbcErrorCode JDBC_NON_TRANSIENT_ERROR
public static JdbcErrorCode[] values()
for (JdbcErrorCode c : JdbcErrorCode.values()) System.out.println(c);
public static JdbcErrorCode 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 ErrorCode toErrorCode()
toErrorCode in interface ErrorCodeSupplierCopyright © 2012–2019. All rights reserved.