public enum ErrorCode extends Enum<ErrorCode>
| Modifier and Type | Field and Description |
|---|---|
static String |
errorMessageResource |
| Modifier and Type | Method and Description |
|---|---|
static ErrorCode |
getByErrorCode(String errorCode) |
Integer |
getMessageCode() |
String |
getSqlState() |
String |
toString() |
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode INTERNAL_ERROR
public static final ErrorCode CONNECTION_ERROR
public static final ErrorCode INTERRUPTED
public static final ErrorCode COMPRESSION_TYPE_NOT_SUPPORTED
public static final ErrorCode QUERY_CANCELED
public static final ErrorCode COMPRESSION_TYPE_NOT_KNOWN
public static final ErrorCode FAIL_LIST_FILES
public static final ErrorCode FILE_NOT_FOUND
public static final ErrorCode FILE_IS_DIRECTORY
public static final ErrorCode DUPLICATE_CONNECTION_PROPERTY_SPECIFIED
public static final ErrorCode MISSING_USERNAME
public static final ErrorCode MISSING_PASSWORD
public static final ErrorCode S3_OPERATION_ERROR
public static final ErrorCode MAX_RESULT_LIMIT_EXCEEDED
public static final ErrorCode NETWORK_ERROR
public static final ErrorCode IO_ERROR
public static final ErrorCode PATH_NOT_DIRECTORY
public static final ErrorCode DATA_TYPE_NOT_SUPPORTED
public static final ErrorCode CLIENT_SIDE_SORTING_NOT_SUPPORTED
public static final ErrorCode AWS_CLIENT_ERROR
public static final ErrorCode INVALID_SQL
public static final ErrorCode BAD_RESPONSE
public static final ErrorCode ARRAY_BIND_MIXED_TYPES_NOT_SUPPORTED
public static final ErrorCode STATEMENT_CLOSED
public static final ErrorCode STATEMENT_ALREADY_RUNNING_QUERY
public static final ErrorCode MISSING_SERVER_URL
public static final ErrorCode TOO_MANY_SESSION_PARAMETERS
public static final ErrorCode MISSING_CONNECTION_PROPERTY
public static final ErrorCode INVALID_CONNECTION_URL
public static final ErrorCode DUPLICATE_STATEMENT_PARAMETER_SPECIFIED
public static final ErrorCode TOO_MANY_STATEMENT_PARAMETERS
public static final ErrorCode COLUMN_DOES_NOT_EXIST
public static final ErrorCode INVALID_PARAMETER_TYPE
public static final ErrorCode ROW_DOES_NOT_EXIST
public static final ErrorCode FEATURE_UNSUPPORTED
public static final ErrorCode INVALID_STATE
public static final ErrorCode RESULTSET_ALREADY_CLOSED
public static final ErrorCode INVALID_VALUE_CONVERT
public static final ErrorCode IDP_CONNECTION_ERROR
public static final ErrorCode IDP_INCORRECT_DESTINATION
public static final ErrorCode CONNECTION_ESTABLISHED_WITH_DIFFERENT_PROP
public static final String errorMessageResource
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode 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 Integer getMessageCode()
public String getSqlState()
Copyright © 2017. All rights reserved.