Package io.zeebe.protocol.record.value
Enum ErrorType
- java.lang.Object
-
- java.lang.Enum<ErrorType>
-
- io.zeebe.protocol.record.value.ErrorType
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorType>
public enum ErrorType extends Enum<ErrorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALLED_ELEMENT_ERRORCONDITION_ERROREXTRACT_VALUE_ERRORIO_MAPPING_ERRORJOB_NO_RETRIESMESSAGE_SIZE_EXCEEDEDUNHANDLED_ERROR_EVENTUNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ErrorType UNKNOWN
-
IO_MAPPING_ERROR
public static final ErrorType IO_MAPPING_ERROR
-
JOB_NO_RETRIES
public static final ErrorType JOB_NO_RETRIES
-
CONDITION_ERROR
public static final ErrorType CONDITION_ERROR
-
EXTRACT_VALUE_ERROR
public static final ErrorType EXTRACT_VALUE_ERROR
-
CALLED_ELEMENT_ERROR
public static final ErrorType CALLED_ELEMENT_ERROR
-
UNHANDLED_ERROR_EVENT
public static final ErrorType UNHANDLED_ERROR_EVENT
-
MESSAGE_SIZE_EXCEEDED
public static final ErrorType MESSAGE_SIZE_EXCEEDED
-
-
Method Detail
-
values
public static ErrorType[] 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 (ErrorType c : ErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorType 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
-
-