Package de.xima.fc.workflow.error
Enum EFcSqlStatementError
- All Implemented Interfaces:
Serializable
,Comparable<EFcSqlStatementError>
Enumeration of the possible error codes for the
EWorkflowNodeType.FC_SQL_STATEMENT
action.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen the prepared statement could not be created, such as when it is syntactically invalid.When the query itself was successful, but the result set could not be extracted.When the database connection details were not found, usually because the entity was already deleted in the formcycle backend.When the database query were not found, usually because the entity was already deleted in the formcycle backend.When the SQL query could not be executed against the database.When the connection to the database could not be established, e.g. when the URL or the credentials are invalid. -
Method Summary
Modifier and TypeMethodDescriptionstatic EFcSqlStatementError
Returns the enum constant of this type with the specified name.static EFcSqlStatementError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COULD_NOT_CREATE_PREPARED_STATEMENT
When the prepared statement could not be created, such as when it is syntactically invalid. -
COULD_NOT_EXTRACT_RESULT_SET
When the query itself was successful, but the result set could not be extracted. -
DATABASE_CONNECTION_NOT_FOUND
When the database connection details were not found, usually because the entity was already deleted in the formcycle backend. -
DATABASE_QUERY_NOT_FOUND
When the database query were not found, usually because the entity was already deleted in the formcycle backend. -
QUERY_EXECUTION_FAILED
When the SQL query could not be executed against the database. -
UNABLE_TO_CONNECT
When the connection to the database could not be established, e.g. when the URL or the credentials are invalid.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-