Package com.attivio.sdk.error
Class SchemaError
- java.lang.Object
-
- com.attivio.sdk.error.ErrorCode
-
- com.attivio.sdk.error.SchemaError
-
- All Implemented Interfaces:
java.io.Serializable
public final class SchemaError extends ErrorCode
Contains the error codes related to the applying the schema to a query or document.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ErrorCode
CONFIG_WARNING
SCHEMA-12 Schema configuration warning.static ErrorCode
DEPRECATED_PROPERTY
SCHEMA-17 Deprecated schema property was used.static ErrorCode
FRESHNESS_NOT_SUPPORTED
SCHEMA-9 Freshness is not supported on the requested fieldstatic ErrorCode
GEOSEARCH_NOT_SUPPORTED
SCHEMA-10 Geo Search is not supported on the requested fieldstatic ErrorCode
ILLEGAL_FIELD_TYPE_ERROR
SCHEMA-3 A query uses a field with an invalid type for the desired operationstatic ErrorCode
ILLEGAL_FIELD_VALUE_ERROR
SCHEMA-2 A query specifies an illegal value for a fieldstatic ErrorCode
ILLEGAL_PROPERTY_NAME
SCHEMA-19 Illegal schema property name.static ErrorCode
ILLEGAL_PROPERTY_VALUE
SCHEMA-18 Illegal value for schema property.static ErrorCode
ILLEGAL_SCHEMA
SCHEMA-20 Schema is not legal.static ErrorCode
ILLEGAL_SORT_FIELD_ERROR
SCHEMA-4 An illegal field was used for sortingstatic ErrorCode
INCOMPATIBLE_INDEX
SCHEMA-13 The schema was modified to be incompatible with an existing index.static ErrorCode
INCONSISTENT_ERROR
SCHEMA-8 The schema is inconsistent.static ErrorCode
INVALID_FIELD_NAME
SCHEMA-15 Invalid field name specified.static ErrorCode
REAL_TIME_FIELD_ERROR
SCHEMA-14 Configuration of real time field contains an error.static ErrorCode
SCHEMA_NOT_SPECIFIED
SCHEMA-11 Schema is not specified.static ErrorCode
TERM_ANCHORS_NOT_SUPPORTED
SCHEMA-16 Term anchors are not enabled/supported for the field requested.static ErrorCode
UNINDEXED_FIELD_ERROR
SCHEMA-7 A query specifies a field that is not indexed.static ErrorCode
UNKNOWN_FACET_ERROR
SCHEMA-5 A query specifies an unknown facet.static ErrorCode
UNKNOWN_FIELD_ERROR
SCHEMA-1 A query specifies an unknown field.static ErrorCode
UNSUPPORTED_FIELD_TYPE
SCHEMA-6 An engine does not support a field type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
formatError(java.util.Locale locale, java.lang.String... context)
Format a contextual error message.-
Methods inherited from class com.attivio.sdk.error.ErrorCode
equals, getCategory, getCode, getErrorCode, hashCode, readResolve, toString
-
-
-
-
Field Detail
-
UNKNOWN_FIELD_ERROR
public static final ErrorCode UNKNOWN_FIELD_ERROR
SCHEMA-1 A query specifies an unknown field.
-
ILLEGAL_FIELD_VALUE_ERROR
public static final ErrorCode ILLEGAL_FIELD_VALUE_ERROR
SCHEMA-2 A query specifies an illegal value for a field
-
ILLEGAL_FIELD_TYPE_ERROR
public static final ErrorCode ILLEGAL_FIELD_TYPE_ERROR
SCHEMA-3 A query uses a field with an invalid type for the desired operation
-
ILLEGAL_SORT_FIELD_ERROR
public static final ErrorCode ILLEGAL_SORT_FIELD_ERROR
SCHEMA-4 An illegal field was used for sorting
-
UNKNOWN_FACET_ERROR
public static final ErrorCode UNKNOWN_FACET_ERROR
SCHEMA-5 A query specifies an unknown facet.
-
UNSUPPORTED_FIELD_TYPE
public static final ErrorCode UNSUPPORTED_FIELD_TYPE
SCHEMA-6 An engine does not support a field type.
-
UNINDEXED_FIELD_ERROR
public static final ErrorCode UNINDEXED_FIELD_ERROR
SCHEMA-7 A query specifies a field that is not indexed.
-
INCONSISTENT_ERROR
public static final ErrorCode INCONSISTENT_ERROR
SCHEMA-8 The schema is inconsistent.
-
FRESHNESS_NOT_SUPPORTED
public static final ErrorCode FRESHNESS_NOT_SUPPORTED
SCHEMA-9 Freshness is not supported on the requested field
-
GEOSEARCH_NOT_SUPPORTED
public static final ErrorCode GEOSEARCH_NOT_SUPPORTED
SCHEMA-10 Geo Search is not supported on the requested field
-
SCHEMA_NOT_SPECIFIED
public static final ErrorCode SCHEMA_NOT_SPECIFIED
SCHEMA-11 Schema is not specified.
-
CONFIG_WARNING
public static final ErrorCode CONFIG_WARNING
SCHEMA-12 Schema configuration warning.You should correct the schema based on the message logged with this error code.
-
INCOMPATIBLE_INDEX
public static final ErrorCode INCOMPATIBLE_INDEX
SCHEMA-13 The schema was modified to be incompatible with an existing index.
-
REAL_TIME_FIELD_ERROR
public static final ErrorCode REAL_TIME_FIELD_ERROR
SCHEMA-14 Configuration of real time field contains an error.
-
INVALID_FIELD_NAME
public static final ErrorCode INVALID_FIELD_NAME
SCHEMA-15 Invalid field name specified.
-
TERM_ANCHORS_NOT_SUPPORTED
public static final ErrorCode TERM_ANCHORS_NOT_SUPPORTED
SCHEMA-16 Term anchors are not enabled/supported for the field requested.
-
DEPRECATED_PROPERTY
public static final ErrorCode DEPRECATED_PROPERTY
SCHEMA-17 Deprecated schema property was used.
-
ILLEGAL_PROPERTY_VALUE
public static final ErrorCode ILLEGAL_PROPERTY_VALUE
SCHEMA-18 Illegal value for schema property.
-
ILLEGAL_PROPERTY_NAME
public static final ErrorCode ILLEGAL_PROPERTY_NAME
SCHEMA-19 Illegal schema property name.
-
ILLEGAL_SCHEMA
public static final ErrorCode ILLEGAL_SCHEMA
SCHEMA-20 Schema is not legal.
-
-
Method Detail
-
formatError
public java.lang.String formatError(java.util.Locale locale, java.lang.String... context)
Description copied from class:ErrorCode
Format a contextual error message.- Overrides:
formatError
in classErrorCode
-
-