public static enum JdbcConstants.ErrorCodes extends Enum<JdbcConstants.ErrorCodes>
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode() |
String |
getErrorMessage() |
static JdbcConstants.ErrorCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JdbcConstants.ErrorCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JdbcConstants.ErrorCodes ERROR_CODE_DATABASE_QUERY_PERFORMING_ERROR
public static final JdbcConstants.ErrorCodes ERROR_CODE_GET_DB_TYPE
public static final JdbcConstants.ErrorCodes ERROR_CODE_AUTO_GENERATED_ID_FAILURE
public static final JdbcConstants.ErrorCodes ERROR_CODE_DATABASE_QUERY_PERFORMING
public static final JdbcConstants.ErrorCodes ERROR_CODE_GETTING_CONNECTION_FAILURE
public static final JdbcConstants.ErrorCodes ERROR_CODE_ROLLBACK_TRANSACTION_FAILURE
public static final JdbcConstants.ErrorCodes ERROR_CODE_COMMIT_TRANSACTION_FAILURE
public static final JdbcConstants.ErrorCodes ERROR_CODE_CLOSE_CONNECTION_FAILURE
public static final JdbcConstants.ErrorCodes ERROR_CODE_MORE_RECORDS_IN_SINGLE_FETCH
public static JdbcConstants.ErrorCodes[] values()
for (JdbcConstants.ErrorCodes c : JdbcConstants.ErrorCodes.values()) System.out.println(c);
public static JdbcConstants.ErrorCodes 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 String getErrorCode()
public String getErrorMessage()
Copyright © 2020 WSO2. All rights reserved.