org.openrdf.sesame.query
Class QueryErrorType
java.lang.Object
org.openrdf.util.Enumeration
org.openrdf.sesame.query.QueryErrorType
- All Implemented Interfaces:
- Serializable
- public final class QueryErrorType
- extends Enumeration
A type-safe enumeration class for query error types.
- Version:
- $Revision: 1.5.4.2 $
- Author:
- Arjohn Kampman
- See Also:
- Serialized Form
MALFORMED_QUERY_ERROR
public static final QueryErrorType MALFORMED_QUERY_ERROR
- Constant used for identifying a malformed query error.
QUERY_EVALUATION_ERROR
public static final QueryErrorType QUERY_EVALUATION_ERROR
- Constant used for identifying a query evaluation error.
forValue
public static QueryErrorType forValue(String value)
- Returns a QueryErrorType constant for the specified value.
- Parameters:
value - The String-representation of a QueryErrorType constant.
- Returns:
- A QueryErrorType object, or null if the specified value
could not be resolved to a QueryErrorType object.
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.