Package de.uplanet.lucy.workflow
Enum ON_ERROR_MODE
- java.lang.Object
-
- java.lang.Enum<ON_ERROR_MODE>
-
- de.uplanet.lucy.workflow.ON_ERROR_MODE
-
- All Implemented Interfaces:
Serializable
,Comparable<ON_ERROR_MODE>
@ConstantClass public enum ON_ERROR_MODE extends Enum<ON_ERROR_MODE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_ACTION
No action should be performed.THROW_EXCEPTION
An exception should be thrown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ON_ERROR_MODE
valueOf(String name)
Returns the enum constant of this type with the specified name.static ON_ERROR_MODE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THROW_EXCEPTION
public static final ON_ERROR_MODE THROW_EXCEPTION
An exception should be thrown.
-
NO_ACTION
public static final ON_ERROR_MODE NO_ACTION
No action should be performed.
-
-
Method Detail
-
values
public static ON_ERROR_MODE[] 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 (ON_ERROR_MODE c : ON_ERROR_MODE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ON_ERROR_MODE 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
-
-