01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query;
07:
08: import org.openrdf.OpenRDFException;
09:
10: /**
11: * An exception indicating that the evaluation of a query failed.
12: *
13: * @author Arjohn Kampman
14: */
15: public class QueryEvaluationException extends OpenRDFException {
16:
17: private static final long serialVersionUID = 602749602257031631L;
18:
19: public QueryEvaluationException() {
20: super ();
21: }
22:
23: /**
24: * Creates a new TupleQueryResultHandlerException.
25: *
26: * @param msg
27: * An error message.
28: */
29: public QueryEvaluationException(String msg) {
30: super (msg);
31: }
32:
33: /**
34: * Creates a new TupleQueryResultHandlerException wrapping another exception.
35: *
36: * @param cause
37: * The cause of the exception.
38: */
39: public QueryEvaluationException(Throwable cause) {
40: super (cause);
41: }
42:
43: /**
44: * Creates a new TupleQueryResultHandlerException wrapping another exception.
45: *
46: * @param msg
47: * An error message.
48: * @param cause
49: * The cause of the exception.
50: */
51: public QueryEvaluationException(String msg, Throwable cause) {
52: super(msg, cause);
53: }
54: }
|