01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query;
07:
08: /**
09: * A RuntimeException indicating that a specific query language is not supported. A typical cause
10: * of this exception is that the class library for the specified query language is not present
11: * in the classpath.
12: */
13: public class UnsupportedQueryLanguageException extends RuntimeException {
14:
15: private static final long serialVersionUID = -2709196386078518696L;
16:
17: /**
18: * Creates a new UnsupportedRDFormatException.
19: *
20: * @param msg
21: * An error message.
22: */
23: public UnsupportedQueryLanguageException(String msg) {
24: super (msg);
25: }
26:
27: /**
28: * Creates a new UnsupportedRDFormatException.
29: *
30: * @param cause
31: * The cause of the exception.
32: */
33: public UnsupportedQueryLanguageException(Throwable cause) {
34: super (cause);
35: }
36:
37: /**
38: * Creates a new UnsupportedRDFormatException wrapping another exception.
39: *
40: * @param msg
41: * An error message.
42: * @param cause
43: * The cause of the exception.
44: */
45: public UnsupportedQueryLanguageException(String msg, Throwable cause) {
46: super(msg, cause);
47: }
48: }
|