Package de.xima.fc.workflow.error
Enum EFcSqlStatementError
- java.lang.Object
-
- java.lang.Enum<EFcSqlStatementError>
-
- de.xima.fc.workflow.error.EFcSqlStatementError
-
- All Implemented Interfaces:
Serializable
,Comparable<EFcSqlStatementError>
public enum EFcSqlStatementError extends Enum<EFcSqlStatementError>
Enumeration of the possible error codes for theEWorkflowNodeType.FC_SQL_STATEMENT
action.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EFcSqlStatementError
valueOf(String name)
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 Detail
-
COULD_NOT_CREATE_PREPARED_STATEMENT
public static final EFcSqlStatementError 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
public static final EFcSqlStatementError COULD_NOT_EXTRACT_RESULT_SET
When the query itself was successful, but the result set could not be extracted.
-
DATABASE_CONNECTION_NOT_FOUND
public static final EFcSqlStatementError 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
public static final EFcSqlStatementError 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
public static final EFcSqlStatementError QUERY_EXECUTION_FAILED
When the SQL query could not be executed against the database.
-
UNABLE_TO_CONNECT
public static final EFcSqlStatementError UNABLE_TO_CONNECT
When the connection to the database could not be established, e.g. when the URL or the credentials are invalid.
-
-
Method Detail
-
values
public static EFcSqlStatementError[] 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 (EFcSqlStatementError c : EFcSqlStatementError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFcSqlStatementError 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
-
-