Clover coverage report - QedeqKernelSe Coverage Report
Coverage timestamp: Sa Jan 26 2008 14:11:34 CET
file stats: LOC: 40   Methods: 1
NCLOC: 8   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ClosingBracketMissingException.java - 100% 100% 100%
coverage
 1    /* $Id: ClosingBracketMissingException.java,v 1.4 2007/12/21 23:33:48 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.parser;
 19   
 20    /**
 21    * Closing bracket expected but is missing.
 22    *
 23    * @version $Revision: 1.4 $
 24    * @author Michael Meyling
 25    */
 26    public class ClosingBracketMissingException extends ParserException {
 27   
 28    /**
 29    * Constructor.
 30    *
 31    * @param position Error position.
 32    * @param bracket Expected bracket.
 33    * @param foundToken Found token.
 34    */
 35  1 public ClosingBracketMissingException(final long position, final String bracket,
 36    final String foundToken) {
 37  1 super(position, "Closing bracket for \"" + bracket + "\" expected. Found: \"" + foundToken
 38    + "\"");
 39    }
 40    }