Clover Coverage Report
Coverage timestamp: Sa Aug 2 2008 13:56:27 CEST
../../../../../../img/srcFileCovDistChart5.png 74% of files have more coverage
2   62   2   1
0   13   1   2
2     1  
1    
 
  TermCheckException       Line # 31 2 2 50% 0.5
 
No Tests
 
1    /* $Id: TermCheckException.java,v 1.1 2008/07/26 07:58:29 m31 Exp $
2    *
3    * This file is part of the project "Hilbert II" - http://www.qedeq.org
4    *
5    * Copyright 2000-2008, Michael Meyling <mime@qedeq.org>.
6    *
7    * "Hilbert II" is free software; you can redistribute
8    * it and/or modify it under the terms of the GNU General Public
9    * License as published by the Free Software Foundation; either
10    * version 2 of the License, or (at your option) any later version.
11    *
12    * This program is distributed in the hope that it will be useful,
13    * but WITHOUT ANY WARRANTY; without even the implied warranty of
14    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15    * GNU General Public License for more details.
16    */
17   
18    package org.qedeq.kernel.bo.logic.wf;
19   
20    import org.qedeq.kernel.base.list.Element;
21    import org.qedeq.kernel.common.ModuleContext;
22   
23    /**
24    * This is an exception for logical errors within a QEDEQ module.
25    *
26    * This exception occurs if an element should be a term but is not.
27    *
28    * @version $Revision: 1.1 $
29    * @author Michael Meyling
30    */
 
31    public class TermCheckException extends LogicalCheckException {
32   
33    /**
34    * Constructs an exception.
35    *
36    * @param errorCode ErrorCode of this message.
37    * @param message What is the problem.
38    * @param element Problematic element.
39    * @param context Error location. Not necessarily pointing to
40    * <code>element</code>.
41    * @param referenceContext Reference location.
42    */
 
43  0 toggle public TermCheckException(final int errorCode, final String message, final Element element,
44    final ModuleContext context, final ModuleContext referenceContext) {
45  0 super(errorCode, message, element, context, referenceContext);
46    }
47   
48    /**
49    * Constructs an exception.
50    *
51    * @param errorCode ErrorCode of this message.
52    * @param message What is the problem.
53    * @param element Problematic element.
54    * @param context Error location. Not necessarily pointing to
55    * <code>element</code>.
56    */
 
57  18 toggle public TermCheckException(final int errorCode, final String message,
58    final Element element, final ModuleContext context) {
59  18 super(errorCode, message, element, context);
60    }
61   
62    }