Clover Coverage Report
Coverage timestamp: Fri May 24 2013 13:47:27 UTC
../../../../../../img/srcFileCovDistChart5.png 87% of files have more coverage
2   60   2   1
0   14   1   2
2     1  
1    
 
  TermCheckException       Line # 29 2 2 50% 0.5
 
No Tests
 
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.wf;
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 logical errors within a QEDEQ module.
24    *
25    * This exception occurs if an element should be a term but is not.
26    *
27    * @author Michael Meyling
28    */
 
29    public class TermCheckException 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 element.
37    * @param context Error location. Not necessarily pointing to
38    * <code>element</code>.
39    * @param referenceContext Reference location.
40    */
 
41  0 toggle public TermCheckException(final int errorCode, final String message, final Element element,
42    final ModuleContext context, final ModuleContext referenceContext) {
43  0 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 element.
52    * @param context Error location. Not necessarily pointing to
53    * <code>element</code>.
54    */
 
55  18 toggle public TermCheckException(final int errorCode, final String message,
56    final Element element, final ModuleContext context) {
57  18 super(errorCode, message, element, context);
58    }
59   
60    }