01: /*
02: * Copyright (C) 1999-2004 <A href="http://www-ist.massey.ac.nz/JBDietrich" target="_top">Jens Dietrich</a>
03: *
04: * This library is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License as published by the Free Software Foundation; either
07: * version 2 of the License, or (at your option) any later version.
08: *
09: * This library is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * Lesser General Public License for more details.
13: *
14: * You should have received a copy of the GNU Lesser General Public
15: * License along with this library; if not, write to the Free Software
16: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17: */
18: package org.mandarax.kernel;
19:
20: /**
21: * An exception indicating a problem in the inference engine.
22: * The typical scenario is that the inference engine tries to resolve clause sets
23: * from an external source (e.g., an SQL database or a web service), this fails and the
24: * exception handling policy in the inference engine is set to exception bubbling (forwarding).
25: * @see org.mandarax.kernel.ClauseSetException
26: * @see org.mandarax.kernel.InferenceEngine
27: * @author <A href="http://www-ist.massey.ac.nz/JBDietrich" target="_top">Jens Dietrich</A>
28: * @version 3.4 <7 March 05>
29: * @since 1.7
30: */
31: public class InferenceException extends Exception {
32:
33: /**
34: * Constructor.
35: * @param msg a message describing the exception
36: */
37: public InferenceException(String msg) {
38: super (msg);
39: }
40:
41: /**
42: * Constructor.
43: * @param msg a message describing the exception
44: * @param cause the cause
45: */
46: public InferenceException(String msg, Throwable cause) {
47: super (msg, cause);
48: }
49:
50: /**
51: * Constructor.
52: */
53: public InferenceException() {
54: super();
55: }
56: }
|