Clover Coverage Report
Coverage timestamp: Fri May 24 2013 13:47:27 UTC
../../../../../../../img/srcFileCovDistChart7.png 74% of files have more coverage
3   73   3   1
0   18   1   3
3     1  
1    
 
  ProofCheckException       Line # 29 3 3 66.7% 0.6666667
 
  (8)
 
1    /* This file is part of the project "Hilbert II" - http://www.qedeq.org
2    *
3    * Copyright 2000-2013, Michael Meyling <mime@qedeq.org>.
4    *
5    * "Hilbert II" is free software; you can redistribute
6    * it and/or modify it under the terms of the GNU General Public
7    * License as published by the Free Software Foundation; either
8    * version 2 of the License, or (at your option) any later version.
9    *
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.checker;
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  12 toggle public ProofCheckException(final int errorCode, final String message, final Element element,
42    final ModuleContext context, final ModuleContext referenceContext) {
43  12 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  0 toggle public ProofCheckException(final int errorCode, final String message,
56    final Element element, final ModuleContext context) {
57  0 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  77 toggle public ProofCheckException(final int errorCode, final String message,
69    final ModuleContext context) {
70  77 super(errorCode, message, context);
71    }
72   
73    }