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.resultio;
07:
08: /**
09: * A Runtime exception indicating that a specific query result format is not supported.
10: */
11: public class UnsupportedQueryResultFormatException extends
12: RuntimeException {
13:
14: private static final long serialVersionUID = -2709196386078518696L;
15:
16: /**
17: * Creates a new UnsupportedRDFormatException.
18: *
19: * @param msg
20: * An error message.
21: */
22: public UnsupportedQueryResultFormatException(String msg) {
23: super (msg);
24: }
25:
26: /**
27: * Creates a new UnsupportedRDFormatException.
28: *
29: * @param cause
30: * The cause of the exception.
31: */
32: public UnsupportedQueryResultFormatException(Throwable cause) {
33: super (cause);
34: }
35:
36: /**
37: * Creates a new UnsupportedRDFormatException wrapping another exception.
38: *
39: * @param msg
40: * An error message.
41: * @param cause
42: * The cause of the exception.
43: */
44: public UnsupportedQueryResultFormatException(String msg,
45: Throwable cause) {
46: super(msg, cause);
47: }
48: }
|