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:
11: package de.uka.ilkd.key.proof;
12:
13: public class MissingInstantiationException extends
14: SVInstantiationExceptionWithPosition {
15:
16: private String toInstantiate;
17:
18: public MissingInstantiationException(String toInstantiate, int row,
19: int column, boolean inIfSequent) {
20: super ("Missing Instantantiation", row, column, inIfSequent);
21: this .toInstantiate = toInstantiate;
22: }
23:
24: public String getMessage() {
25: String errmsg = super .getMessage();
26: errmsg += "\n Instantiation missing for " + toInstantiate;
27: return errmsg;
28: }
29:
30: /**
31: * Returns a string representation of this exception.
32: */
33: public String toString() {
34: return getMessage();
35: }
36: }
|