Package org.forgerock.openam.rest.query
Enum QueryException.QueryErrorCode
- java.lang.Object
-
- java.lang.Enum<QueryException.QueryErrorCode>
-
- org.forgerock.openam.rest.query.QueryException.QueryErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<QueryException.QueryErrorCode>
- Enclosing class:
- QueryException
public static enum QueryException.QueryErrorCode extends Enum<QueryException.QueryErrorCode>
Error messages are stored in the queryError.properties file to facilitate translation. Each entry in this enum corresponds to a specific error message in the file.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILTER_BOOLEAN_LITERAL_FALSEFILTER_DEPTH_NOT_SUPPORTEDFILTER_EXTENDED_MATCHFILTER_GREATER_THANFILTER_GREATER_THAN_OR_EQUALFILTER_LESS_THANFILTER_LESS_THAN_OR_EQUALFILTER_NOTFILTER_PRESENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryException.QueryErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static QueryException.QueryErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILTER_BOOLEAN_LITERAL_FALSE
public static final QueryException.QueryErrorCode FILTER_BOOLEAN_LITERAL_FALSE
-
FILTER_EXTENDED_MATCH
public static final QueryException.QueryErrorCode FILTER_EXTENDED_MATCH
-
FILTER_GREATER_THAN
public static final QueryException.QueryErrorCode FILTER_GREATER_THAN
-
FILTER_GREATER_THAN_OR_EQUAL
public static final QueryException.QueryErrorCode FILTER_GREATER_THAN_OR_EQUAL
-
FILTER_LESS_THAN
public static final QueryException.QueryErrorCode FILTER_LESS_THAN
-
FILTER_LESS_THAN_OR_EQUAL
public static final QueryException.QueryErrorCode FILTER_LESS_THAN_OR_EQUAL
-
FILTER_NOT
public static final QueryException.QueryErrorCode FILTER_NOT
-
FILTER_PRESENT
public static final QueryException.QueryErrorCode FILTER_PRESENT
-
FILTER_DEPTH_NOT_SUPPORTED
public static final QueryException.QueryErrorCode FILTER_DEPTH_NOT_SUPPORTED
-
-
Method Detail
-
values
public static QueryException.QueryErrorCode[] 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 (QueryException.QueryErrorCode c : QueryException.QueryErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryException.QueryErrorCode 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
-
-