public enum DbError extends Enum<DbError> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<DbError>
| Enum Constant and Description |
|---|
BAD_SQL_SYNTAX
The provided SQL query has bad syntax
|
CANNOT_LOAD_DRIVER
Could not load the JDBC driver
|
CANNOT_REACH
Cannot establish a connection with the RDBMS
|
CONNECTIVITY
Generic error for a connectivity issue with the Database
|
INVALID_CREDENTIALS
Database rejected the provided credentials
|
INVALID_DATABASE
Connection to the RDBMS was established, but the Database doesn't exist
|
QUERY_EXECUTION
There was an error executing the query
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> |
getParent() |
static DbError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbError CONNECTIVITY
public static final DbError INVALID_CREDENTIALS
public static final DbError INVALID_DATABASE
public static final DbError CANNOT_REACH
public static final DbError CANNOT_LOAD_DRIVER
public static final DbError BAD_SQL_SYNTAX
public static final DbError QUERY_EXECUTION
public static DbError[] values()
for (DbError c : DbError.values()) System.out.println(c);
public static DbError 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 © 2024. All rights reserved.