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 when requesting a clause iterator, or when iterating clauses.
22: * Introducing such an exception is necessary since clause sets may interface
23: * with external systems (like relational databases or web services).
24: * @see org.mandarax.kernel.ClauseSet
25: * @see org.mandarax.kernel.KnowledgeOwner
26: * @see org.mandarax.util.ClauseSetIterator
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 ClauseSetException extends Exception {
32:
33: /**
34: * Constructor.
35: * @param msg a message describing the exception
36: */
37: public ClauseSetException(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 ClauseSetException(String msg, Throwable cause) {
47: super (msg, cause);
48: }
49:
50: /**
51: * Constructor.
52: */
53: public ClauseSetException() {
54: super();
55: }
56: }
|