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