Package de.xima.fc.workflow.error
Enum EFcHttpRequestError
- java.lang.Object
-
- java.lang.Enum<EFcHttpRequestError>
-
- de.xima.fc.workflow.error.EFcHttpRequestError
-
- All Implemented Interfaces:
Serializable
,Comparable<EFcHttpRequestError>
public enum EFcHttpRequestError extends Enum<EFcHttpRequestError>
Enumeration of the possible error codes for theEWorkflowNodeType.FC_POST_REQUEST
action.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_ERROR
When the request was successful, but the server returned a 4xx response.MALFORMED_URL
The given post URL is invalid.NETWORK_FAILURE
The server could not be reached, or no response was received.PROCESS_ATTACHMENT_FAILED
If the processing of the files to be added to the request failsSERVER_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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EFcHttpRequestError
valueOf(String name)
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 Detail
-
CLIENT_ERROR
public static final EFcHttpRequestError CLIENT_ERROR
When the request was successful, but the server returned a 4xx response.
-
MALFORMED_URL
public static final EFcHttpRequestError MALFORMED_URL
The given post URL is invalid.
-
NETWORK_FAILURE
public static final EFcHttpRequestError NETWORK_FAILURE
The server could not be reached, or no response was received.
-
PROCESS_ATTACHMENT_FAILED
public static final EFcHttpRequestError PROCESS_ATTACHMENT_FAILED
If the processing of the files to be added to the request fails
-
SERVER_ERROR
public static final EFcHttpRequestError SERVER_ERROR
When the request was successful, but the server returned a 5xx response.
-
XSLT_TRANSFORM_FAILED
public static final EFcHttpRequestError XSLT_TRANSFORM_FAILED
An XSLT template was specified, but the transform could not be applied.
-
-
Method Detail
-
values
public static EFcHttpRequestError[] 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 (EFcHttpRequestError c : EFcHttpRequestError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFcHttpRequestError 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
-
-