Package de.xima.fc.workflow.error
Enum EFcProvideResourceError
- java.lang.Object
-
- java.lang.Enum<EFcProvideResourceError>
-
- de.xima.fc.workflow.error.EFcProvideResourceError
-
- All Implemented Interfaces:
Serializable
,Comparable<EFcProvideResourceError>
public enum EFcProvideResourceError extends Enum<EFcProvideResourceError>
Enumeration of the possible error codes for theEWorkflowNodeType.FC_PROVIDE_RESOURCE
action.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.NETWORK_ERROR
When a file from the network could not be accessed.NO_SOURCE_FILE_FOUND
When a referenced file does not exist.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EFcProvideResourceError
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFcProvideResourceError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATABASE_ERROR
public static final EFcProvideResourceError DATABASE_ERROR
When an error occurred during the communication with the database.
-
FILE_SYSTEM_ERROR
public static final EFcProvideResourceError FILE_SYSTEM_ERROR
When a file could not be read from the file system or written to the file system.
-
NETWORK_ERROR
public static final EFcProvideResourceError NETWORK_ERROR
When a file from the network could not be accessed.
-
NO_SOURCE_FILE_FOUND
public static final EFcProvideResourceError NO_SOURCE_FILE_FOUND
When a referenced file does not exist.
-
-
Method Detail
-
values
public static EFcProvideResourceError[] 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 (EFcProvideResourceError c : EFcProvideResourceError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFcProvideResourceError 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
-
-