Package de.xima.fc.workflow.error
Enum EFcHttpRequestSoftError
- java.lang.Object
-
- java.lang.Enum<EFcHttpRequestSoftError>
-
- de.xima.fc.workflow.error.EFcHttpRequestSoftError
-
- All Implemented Interfaces:
Serializable
,Comparable<EFcHttpRequestSoftError>
public enum EFcHttpRequestSoftError extends Enum<EFcHttpRequestSoftError>
Enumeration of the possible soft error codes for theEWorkflowNodeType.FC_POST_REQUEST
action.- Since:
- 7.0.7
- 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.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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EFcHttpRequestSoftError
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFcHttpRequestSoftError[]
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 EFcHttpRequestSoftError CLIENT_ERROR
When the request was successful, but the server returned a 4xx response.
-
NO_SOURCE_FILE_FOUND
public static final EFcHttpRequestSoftError NO_SOURCE_FILE_FOUND
When a referenced file does not exist.
-
SERVER_ERROR
public static final EFcHttpRequestSoftError SERVER_ERROR
When the request was successful, but the server returned a 5xx response.
-
-
Method Detail
-
values
public static EFcHttpRequestSoftError[] 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 (EFcHttpRequestSoftError c : EFcHttpRequestSoftError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFcHttpRequestSoftError 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
-
-