org.openrdf.sesame.query
Class QueryErrorType

java.lang.Object
  extended byorg.openrdf.util.Enumeration
      extended byorg.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

Field Summary
static QueryErrorType MALFORMED_QUERY_ERROR
          Constant used for identifying a malformed query error.
static QueryErrorType QUERY_EVALUATION_ERROR
          Constant used for identifying a query evaluation error.
 
Method Summary
static QueryErrorType forValue(String value)
          Returns a QueryErrorType constant for the specified value.
 
Methods inherited from class org.openrdf.util.Enumeration
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Method Detail

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.