Clover coverage report - QedeqKernelSe Coverage Report
Coverage timestamp: Do Mai 10 2007 03:16:40 CEST
file stats: LOC: 62   Methods: 2
NCLOC: 13   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
TermCheckException.java - 50% 50% 50%
coverage coverage
 1    /* $Id: TermCheckException.java,v 1.4 2007/04/12 23:50:08 m31 Exp $
 2    *
 3    * This file is part of the project "Hilbert II" - http://www.qedeq.org
 4    *
 5    * Copyright 2000-2007, 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;
 19   
 20    import org.qedeq.kernel.base.list.Element;
 21    import org.qedeq.kernel.bo.module.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.4 $
 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 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 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    }