root/rdfalchemy/trunk/rdfalchemy/exceptions.py

Revision 150, 0.5 KB (checked in by phil, 3 years ago)
Line 
1class RDFAlchemyError(Exception):
2    """Generic error class."""
3
4
5class RDFAbstractClassError(RDFAlchemyError):
6    """Cannot generate instances of Abstract Classes"""
7
8
9class SPARQLError(Exception):
10    """Base SPARQL Error"""
11
12class MalformedQueryError(SPARQLError):
13    """Query Syntax Error for SPARQL RDQL etc
14   
15    In Sesame:
16       org.openrdf.query.MalformedQueryException"""
17
18class QueryEvaluationError(SPARQLError):
19    """Query Evaluation Error reported by Server
20   
21    In Sesame:
22      org.openrdf.query.QueryEvaluationException"""
23
Note: See TracBrowser for help on using the browser.