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.logic.sort;
12:
13: /** this exception is thrown if a generic sort has been declared with
14: * an illegal supersort */
15: public class GenericSupersortException extends Exception {
16:
17: Sort illegalSort;
18:
19: public GenericSupersortException(String description,
20: Sort illegalSort) {
21: super (description);
22: this .illegalSort = illegalSort;
23: }
24:
25: public Sort getIllegalSort() {
26: return illegalSort;
27: }
28:
29: }
|