Clover Coverage Report
Coverage timestamp: Sa Aug 2 2008 13:56:27 CEST
../../../../../img/srcFileCovDistChart0.png 88% of files have more coverage
1   41   1   1
0   8   1   1
1     1  
1    
 
  TooMuchArgumentsException       Line # 27 1 1 0% 0.0
 
No Tests
 
1    /* $Id: TooMuchArgumentsException.java,v 1.1 2008/07/26 07:58:30 m31 Exp $
2    *
3    * This file is part of the project "Hilbert II" - http://www.qedeq.org
4    *
5    * Copyright 2000-2008, 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.parser;
19   
20   
21    /**
22    * There are too much arguments. A less number was expected.
23    *
24    * @version $Revision: 1.1 $
25    * @author Michael Meyling
26    */
 
27    public class TooMuchArgumentsException extends ParserException {
28   
29    /**
30    * Constructor.
31    *
32    * @param position Error position.
33    * @param operator Operator.
34    * @param expected Expected number of arguments.
35    */
 
36  0 toggle public TooMuchArgumentsException(final long position, final Operator operator,
37    final int expected) {
38  0 super(position, "To much arguments for operator \"" + operator + "\". Maximum: "
39    + expected);
40    }
41    }