Enum MySQLVendorError
- java.lang.Object
-
- java.lang.Enum<MySQLVendorError>
-
- org.apache.shardingsphere.dialect.mysql.vendor.MySQLVendorError
-
- All Implemented Interfaces:
Serializable,Comparable<MySQLVendorError>,org.apache.shardingsphere.infra.util.exception.external.sql.vendor.VendorError
public enum MySQLVendorError extends Enum<MySQLVendorError> implements org.apache.shardingsphere.infra.util.exception.external.sql.vendor.VendorError
MySQL vendor error.- See Also:
- Server Error Message Reference
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MySQLVendorErrorvalueOf(String name)Returns the enum constant of this type with the specified name.static MySQLVendorError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ER_HANDSHAKE_ERROR
public static final MySQLVendorError ER_HANDSHAKE_ERROR
-
ER_DBACCESS_DENIED_ERROR
public static final MySQLVendorError ER_DBACCESS_DENIED_ERROR
-
ER_ACCESS_DENIED_ERROR
public static final MySQLVendorError ER_ACCESS_DENIED_ERROR
-
ER_NO_DB_ERROR
public static final MySQLVendorError ER_NO_DB_ERROR
-
ER_BAD_DB_ERROR
public static final MySQLVendorError ER_BAD_DB_ERROR
-
ER_INTERNAL_ERROR
public static final MySQLVendorError ER_INTERNAL_ERROR
-
ER_UNSUPPORTED_PS
public static final MySQLVendorError ER_UNSUPPORTED_PS
-
ER_DB_CREATE_EXISTS_ERROR
public static final MySQLVendorError ER_DB_CREATE_EXISTS_ERROR
-
ER_DB_DROP_NOT_EXISTS_ERROR
public static final MySQLVendorError ER_DB_DROP_NOT_EXISTS_ERROR
-
ER_TABLE_EXISTS_ERROR
public static final MySQLVendorError ER_TABLE_EXISTS_ERROR
-
ER_NO_SUCH_TABLE
public static final MySQLVendorError ER_NO_SUCH_TABLE
-
ER_CON_COUNT_ERROR
public static final MySQLVendorError ER_CON_COUNT_ERROR
-
ER_UNKNOWN_CHARACTER_SET
public static final MySQLVendorError ER_UNKNOWN_CHARACTER_SET
-
ER_WRONG_VALUE_COUNT_ON_ROW
public static final MySQLVendorError ER_WRONG_VALUE_COUNT_ON_ROW
-
ER_UNKNOWN_SYSTEM_VARIABLE
public static final MySQLVendorError ER_UNKNOWN_SYSTEM_VARIABLE
-
ER_LOCAL_VARIABLE
public static final MySQLVendorError ER_LOCAL_VARIABLE
-
ER_GLOBAL_VARIABLE
public static final MySQLVendorError ER_GLOBAL_VARIABLE
-
ER_INCORRECT_GLOBAL_LOCAL_VAR
public static final MySQLVendorError ER_INCORRECT_GLOBAL_LOCAL_VAR
-
ER_UNKNOWN_COLLATION
public static final MySQLVendorError ER_UNKNOWN_COLLATION
-
ER_ERROR_ON_MODIFYING_GTID_EXECUTED_TABLE
public static final MySQLVendorError ER_ERROR_ON_MODIFYING_GTID_EXECUTED_TABLE
-
-
Method Detail
-
values
public static MySQLVendorError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MySQLVendorError c : MySQLVendorError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MySQLVendorError valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-