01 /* This file is part of the project "Hilbert II" - http://www.qedeq.org
02 *
03 * Copyright 2000-2011, Michael Meyling <mime@qedeq.org>.
04 *
05 * "Hilbert II" is free software; you can redistribute
06 * it and/or modify it under the terms of the GNU General Public
07 * License as published by the Free Software Foundation; either
08 * version 2 of the License, or (at your option) any later version.
09 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16 package org.qedeq.kernel.bo.logic.proof.basic;
17
18 import org.qedeq.kernel.bo.logic.common.LogicalCheckException;
19 import org.qedeq.kernel.se.base.list.Element;
20 import org.qedeq.kernel.se.common.ModuleContext;
21
22 /**
23 * This is an exception for formal proof errors within a QEDEQ module.
24 *
25 * A checked proof is not correct.
26 *
27 * @author Michael Meyling
28 */
29 public class ProofCheckException extends LogicalCheckException {
30
31 /**
32 * Constructs an exception.
33 *
34 * @param errorCode ErrorCode of this message.
35 * @param message What is the problem.
36 * @param element Problematic formula.
37 * @param context Error location. Not necessarily pointing to
38 * <code>element</code>.
39 * @param referenceContext Reference location.
40 */
41 public ProofCheckException(final int errorCode, final String message, final Element element,
42 final ModuleContext context, final ModuleContext referenceContext) {
43 super(errorCode, message, element, context, referenceContext);
44 }
45
46 /**
47 * Constructs an exception.
48 *
49 * @param errorCode ErrorCode of this message.
50 * @param message What is the problem.
51 * @param element Problematic formula.
52 * @param context Error location. Not necessarily pointing to
53 * <code>element</code>.
54 */
55 public ProofCheckException(final int errorCode, final String message,
56 final Element element, final ModuleContext context) {
57 super(errorCode, message, element, context);
58 }
59
60 /**
61 * Constructs an exception.
62 *
63 * @param errorCode ErrorCode of this message.
64 * @param message What is the problem.
65 * @param context Error location. Not necessarily pointing to
66 * <code>element</code>.
67 */
68 public ProofCheckException(final int errorCode, final String message,
69 final ModuleContext context) {
70 super(errorCode, message, context);
71 }
72
73 }
|