|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| FormulaCheckException.java | - | 50% | 50% | 50% |
|
||||||||||||||
| 1 | /* $Id: CheckException.java,v 1.5 2006/10/20 20:23:03 m31 Exp $ | |
| 2 | * | |
| 3 | * This file is part of the project "Hilbert II" - http://www.qedeq.org | |
| 4 | * | |
| 5 | * Copyright 2000-2006, 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.context.ModuleContext; | |
| 22 | ||
| 23 | /** | |
| 24 | * This is an exception for logical errors within a QEDEQ module. | |
| 25 | * | |
| 26 | * @version $Revision: 1.5 $ | |
| 27 | * @author Michael Meyling | |
| 28 | */ | |
| 29 | public class FormulaCheckException extends CheckException { | |
| 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 formula. | |
| 37 | * @param context Error location. Not necessarily pointing to | |
| 38 | * <code>element</code>. | |
| 39 | * @param referenceContext Reference location. | |
| 40 | */ | |
| 41 | 0 | public FormulaCheckException(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 formula. | |
| 52 | * @param context Error location. Not necessarily pointing to | |
| 53 | * <code>element</code>. | |
| 54 | */ | |
| 55 | 3627 | public FormulaCheckException(final int errorCode, final String message, |
| 56 | final Element element, final ModuleContext context) { | |
| 57 | 3627 | super(errorCode, message, element, context); |
| 58 | } | |
| 59 | ||
| 60 | } |
|
||||||||||