|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ClosingBracketMissingException | Line # 26 | 1 | 1 | 0% |
0.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
No Tests | |||
1 | /* $Id: ClosingBracketMissingException.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 | * Closing bracket expected but is missing. | |
22 | * | |
23 | * @version $Revision: 1.1 $ | |
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 | 0 | public ClosingBracketMissingException(final long position, final String bracket, |
36 | final String foundToken) { | |
37 | 0 | super(position, "Closing bracket for \"" + bracket + "\" expected. Found: \"" + foundToken |
38 | + "\""); | |
39 | } | |
40 | } |
|