01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //
09: //
10: package de.uka.ilkd.key.parser;
11:
12: class InvalidFindException extends antlr.SemanticException {
13:
14: private String description;
15:
16: public InvalidFindException(String description, String filename,
17: int line, int column) {
18: super ("Invalid Find: " + description, filename, line, column);
19: this .description = description;
20: }
21:
22: public String getMessage() {
23: return (getFilename() != null ? getFilename() : "") + "("
24: + getLine() + ", " + getColumn() + "):" + description;
25: }
26:
27: }
|