Clover coverage report - QedeqKernelSe Coverage Report
Coverage timestamp: Do Dez 29 2005 18:38:29 CET
file stats: LOC: 62   Methods: 2
NCLOC: 13   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
CheckException.java - 0% 0% 0%
coverage
 1    /* $Id: CheckException.java,v 1.4 2005/06/15 16:11:49 m31 Exp $
 2    *
 3    * This file is part of the project "Hilbert II" - http://www.qedeq.org
 4    *
 5    * Copyright 2000-2005, 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.elli.Element;
 21   
 22   
 23   
 24    /**
 25    * This is an exception for semantic checks.
 26    *
 27    * @version $Revision: 1.4 $
 28    * @author Michael Meyling
 29    */
 30    public class CheckException extends Exception {
 31   
 32    /** Necessary for serialization. */
 33    private static final long serialVersionUID = 1L;
 34   
 35    /**
 36    * This element should have been an atom.
 37    */
 38    private final Element element;
 39   
 40   
 41    /**
 42    * Constructs an exception.
 43    *
 44    * @param message what is the problem
 45    * @param element problematic line
 46    */
 47  0 public CheckException(final String message, final Element element) {
 48  0 super(message);
 49  0 this.element = element;
 50    }
 51   
 52    /**
 53    * Get the element.
 54    *
 55    * @return element, that should have been a symbol
 56    */
 57  0 public final Element getElement() {
 58  0 return this.element;
 59    }
 60   
 61   
 62    }