public enum FunctionErrorReason extends Enum<FunctionErrorReason>
Java class for FunctionError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="FunctionError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_FUNCTION_FORMAT"/>
<enumeration value="DATA_TYPE_MISMATCH"/>
<enumeration value="INVALID_CONJUNCTION_OPERANDS"/>
<enumeration value="INVALID_NUMBER_OF_OPERANDS"/>
<enumeration value="INVALID_OPERAND_TYPE"/>
<enumeration value="INVALID_OPERATOR"/>
<enumeration value="INVALID_REQUEST_CONTEXT_TYPE"/>
<enumeration value="INVALID_FUNCTION_FOR_CALL_PLACEHOLDER"/>
<enumeration value="INVALID_FUNCTION_FOR_PLACEHOLDER"/>
<enumeration value="INVALID_OPERAND"/>
<enumeration value="MISSING_CONSTANT_OPERAND_VALUE"/>
<enumeration value="INVALID_CONSTANT_OPERAND_VALUE"/>
<enumeration value="INVALID_NESTING"/>
<enumeration value="MULTIPLE_FEED_IDS_NOT_SUPPORTED"/>
<enumeration value="INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA"/>
<enumeration value="INVALID_ATTRIBUTE_NAME"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DATA_TYPE_MISMATCH
Operand data types do not match.
|
INVALID_ATTRIBUTE_NAME
Invalid attribute name.
|
INVALID_CONJUNCTION_OPERANDS
The operands cannot be used together in a conjunction.
|
INVALID_CONSTANT_OPERAND_VALUE
The value of the constant operand is invalid.
|
INVALID_FUNCTION_FOR_CALL_PLACEHOLDER
The matching function is not allowed for call placeholders
|
INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA
The matching function is invalid for use with a feed with a fixed schema.
|
INVALID_FUNCTION_FOR_PLACEHOLDER
The matching function is not allowed for the specified placeholder
|
INVALID_FUNCTION_FORMAT
The format of the function is not recognized as a supported function format.
|
INVALID_NESTING
Invalid function nesting.
|
INVALID_NUMBER_OF_OPERANDS
Invalid numer of Operands.
|
INVALID_OPERAND
Invalid operand.
|
INVALID_OPERAND_TYPE
Operand Type not supported.
|
INVALID_OPERATOR
Operator not supported.
|
INVALID_REQUEST_CONTEXT_TYPE
Request context type not supported.
|
MISSING_CONSTANT_OPERAND_VALUE
Missing value for the constant operand.
|
MULTIPLE_FEED_IDS_NOT_SUPPORTED
The Feed ID was different from another Feed ID in the same function.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static FunctionErrorReason |
fromValue(String v) |
String |
value() |
static FunctionErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FunctionErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionErrorReason INVALID_FUNCTION_FORMAT
public static final FunctionErrorReason DATA_TYPE_MISMATCH
public static final FunctionErrorReason INVALID_CONJUNCTION_OPERANDS
public static final FunctionErrorReason INVALID_NUMBER_OF_OPERANDS
public static final FunctionErrorReason INVALID_OPERAND_TYPE
public static final FunctionErrorReason INVALID_OPERATOR
public static final FunctionErrorReason INVALID_REQUEST_CONTEXT_TYPE
public static final FunctionErrorReason INVALID_FUNCTION_FOR_CALL_PLACEHOLDER
public static final FunctionErrorReason INVALID_FUNCTION_FOR_PLACEHOLDER
public static final FunctionErrorReason INVALID_OPERAND
public static final FunctionErrorReason MISSING_CONSTANT_OPERAND_VALUE
public static final FunctionErrorReason INVALID_CONSTANT_OPERAND_VALUE
public static final FunctionErrorReason INVALID_NESTING
public static final FunctionErrorReason MULTIPLE_FEED_IDS_NOT_SUPPORTED
public static final FunctionErrorReason INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA
public static final FunctionErrorReason INVALID_ATTRIBUTE_NAME
public static final FunctionErrorReason UNKNOWN
public static FunctionErrorReason[] values()
for (FunctionErrorReason c : FunctionErrorReason.values()) System.out.println(c);
public static FunctionErrorReason 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 FunctionErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.