Clover Coverage Report
Coverage timestamp: Sat Sep 18 2010 04:09:52 UTC
../../../../../../img/srcFileCovDistChart5.png 77% of files have more coverage
2   59   2   1
0   13   1   2
2     1  
1    
 
  TermCheckException       Line # 28 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-2010, 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.base.list.Element;
19    import org.qedeq.kernel.common.ModuleContext;
20   
21    /**
22    * This is an exception for logical errors within a QEDEQ module.
23    *
24    * This exception occurs if an element should be a term but is not.
25    *
26    * @author Michael Meyling
27    */
 
28    public class TermCheckException extends LogicalCheckException {
29   
30    /**
31    * Constructs an exception.
32    *
33    * @param errorCode ErrorCode of this message.
34    * @param message What is the problem.
35    * @param element Problematic element.
36    * @param context Error location. Not necessarily pointing to
37    * <code>element</code>.
38    * @param referenceContext Reference location.
39    */
 
40  0 toggle public TermCheckException(final int errorCode, final String message, final Element element,
41    final ModuleContext context, final ModuleContext referenceContext) {
42  0 super(errorCode, message, element, context, referenceContext);
43    }
44   
45    /**
46    * Constructs an exception.
47    *
48    * @param errorCode ErrorCode of this message.
49    * @param message What is the problem.
50    * @param element Problematic element.
51    * @param context Error location. Not necessarily pointing to
52    * <code>element</code>.
53    */
 
54  18 toggle public TermCheckException(final int errorCode, final String message,
55    final Element element, final ModuleContext context) {
56  18 super(errorCode, message, element, context);
57    }
58   
59    }