public enum FunctionParsingErrorReason extends Enum<FunctionParsingErrorReason>
Java class for FunctionParsingError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="FunctionParsingError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NO_MORE_INPUT"/>
<enumeration value="EXPECTED_CHARACTER"/>
<enumeration value="UNEXPECTED_SEPARATOR"/>
<enumeration value="UNMATCHED_LEFT_BRACKET"/>
<enumeration value="UNMATCHED_RIGHT_BRACKET"/>
<enumeration value="TOO_MANY_NESTED_FUNCTIONS"/>
<enumeration value="MISSING_RIGHT_HAND_OPERAND"/>
<enumeration value="INVALID_OPERATOR_NAME"/>
<enumeration value="FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER"/>
<enumeration value="NO_OPERANDS"/>
<enumeration value="TOO_MANY_OPERANDS"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
EXPECTED_CHARACTER
Could not find an expected character.
|
FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER
Feed attribute operand's argument is not an integer.
|
INVALID_OPERATOR_NAME
Invalid operator/function name.
|
MISSING_RIGHT_HAND_OPERAND
Missing right-hand-side operand.
|
NO_MORE_INPUT
Unexpected end of function string.
|
NO_OPERANDS
Missing function operands.
|
TOO_MANY_NESTED_FUNCTIONS
Functions are nested too deeply.
|
TOO_MANY_OPERANDS
Function had too many operands.
|
UNEXPECTED_SEPARATOR
Unexpected separator character.
|
UNKNOWN |
UNMATCHED_LEFT_BRACKET
Unmatched left bracket or parenthesis.
|
UNMATCHED_RIGHT_BRACKET
Unmatched right bracket or parenthesis.
|
| Modifier and Type | Method and Description |
|---|---|
static FunctionParsingErrorReason |
fromValue(String v) |
String |
value() |
static FunctionParsingErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FunctionParsingErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionParsingErrorReason NO_MORE_INPUT
public static final FunctionParsingErrorReason EXPECTED_CHARACTER
public static final FunctionParsingErrorReason UNEXPECTED_SEPARATOR
public static final FunctionParsingErrorReason UNMATCHED_LEFT_BRACKET
public static final FunctionParsingErrorReason UNMATCHED_RIGHT_BRACKET
public static final FunctionParsingErrorReason TOO_MANY_NESTED_FUNCTIONS
public static final FunctionParsingErrorReason MISSING_RIGHT_HAND_OPERAND
public static final FunctionParsingErrorReason INVALID_OPERATOR_NAME
public static final FunctionParsingErrorReason FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER
public static final FunctionParsingErrorReason NO_OPERANDS
public static final FunctionParsingErrorReason TOO_MANY_OPERANDS
public static final FunctionParsingErrorReason UNKNOWN
public static FunctionParsingErrorReason[] values()
for (FunctionParsingErrorReason c : FunctionParsingErrorReason.values()) System.out.println(c);
public static FunctionParsingErrorReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static FunctionParsingErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.