EMMA Coverage Report (generated Fri Feb 14 08:28:31 UTC 2014)
[all classes][org.qedeq.kernel.bo.logic.wf]

COVERAGE SUMMARY FOR SOURCE FILE [FormulaCheckException.java]

nameclass, %method, %block, %line, %
FormulaCheckException.java100% (1/1)50%  (1/2)47%  (7/15)50%  (2/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class FormulaCheckException100% (1/1)50%  (1/2)47%  (7/15)50%  (2/4)
FormulaCheckException (int, String, Element, ModuleContext, ModuleContext): void 0%   (0/1)0%   (0/8)0%   (0/2)
FormulaCheckException (int, String, Element, ModuleContext): void 100% (1/1)100% (7/7)100% (2/2)

1/* This file is part of the project "Hilbert II" - http://www.qedeq.org
2 *
3 * Copyright 2000-2014,  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 
16package org.qedeq.kernel.bo.logic.wf;
17 
18import org.qedeq.kernel.bo.logic.common.LogicalCheckException;
19import org.qedeq.kernel.se.base.list.Element;
20import org.qedeq.kernel.se.common.ModuleContext;
21 
22/**
23 * This is an exception for logical errors within a QEDEQ module.
24 *
25 * A checked formula has an syntactical error. That is for example:
26 * Mixture of free and bound occurrence of a subject variable,
27 * element list that is has a subject variable operator but has not
28 * exactly one element that is an atom.
29 *
30 * @author  Michael Meyling
31 */
32public class FormulaCheckException extends LogicalCheckException {
33 
34    /**
35     * Constructs an exception.
36     *
37     * @param   errorCode           ErrorCode of this message.
38     * @param   message             What is the problem.
39     * @param   element             Problematic formula.
40     * @param   context             Error location. Not necessarily pointing to
41     *                                  <code>element</code>.
42     * @param   referenceContext    Reference location.
43     */
44    public FormulaCheckException(final int errorCode, final String message, final Element element,
45            final ModuleContext context, final ModuleContext referenceContext) {
46        super(errorCode, message, element, context, referenceContext);
47    }
48 
49    /**
50     * Constructs an exception.
51     *
52     * @param  errorCode        ErrorCode of this message.
53     * @param  message          What is the problem.
54     * @param  element          Problematic formula.
55     * @param   context             Error location. Not necessarily pointing to
56     *                                  <code>element</code>.
57     */
58    public FormulaCheckException(final int errorCode, final String message,
59            final Element element, final ModuleContext context) {
60        super(errorCode, message, element, context);
61    }
62 
63}

[all classes][org.qedeq.kernel.bo.logic.wf]
EMMA 2.1.5320 (stable) (C) Vladimir Roubtsov