Package de.xima.fc.workflow.error
Enum EFcHttpRequestError
- All Implemented Interfaces:
Serializable
,Comparable<EFcHttpRequestError>
Enumeration of the possible error codes for the
EWorkflowNodeType.FC_POST_REQUEST
action.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen the request was successful, but the server returned a 4xx response.When an error occurred during the communication with the database.When a file could not be read from the file system or written to the file system.The given post URL is invalid.Either when a file from an external URL could not be read, or when the HTTP request failed, such as when the server could not be reached, or no response was received.When a referenced file does not exist.When the request was successful, but the server returned a 5xx response.An XSLT template was specified, but the transform could not be applied. -
Method Summary
Modifier and TypeMethodDescriptionstatic EFcHttpRequestError
Returns the enum constant of this type with the specified name.static EFcHttpRequestError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLIENT_ERROR
When the request was successful, but the server returned a 4xx response. -
DATABASE_ERROR
When an error occurred during the communication with the database. -
FILE_SYSTEM_ERROR
When a file could not be read from the file system or written to the file system. -
MALFORMED_URL
The given post URL is invalid. -
NETWORK_FAILURE
Either when a file from an external URL could not be read, or when the HTTP request failed, such as when the server could not be reached, or no response was received. -
NO_SOURCE_FILE_FOUND
When a referenced file does not exist. -
SERVER_ERROR
When the request was successful, but the server returned a 5xx response. -
XSLT_TRANSFORM_FAILED
An XSLT template was specified, but the transform could not be applied.
-
-
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
-