01: /**************************************************************************/
02: /* B O S S A */
03: /* A simple imperative object-oriented research language */
04: /* (c) Daniel Bonniot 1999 */
05: /* */
06: /* This program is free software; you can redistribute it and/or modify */
07: /* it under the terms of the GNU General Public License as published by */
08: /* the Free Software Foundation; either version 2 of the License, or */
09: /* (at your option) any later version. */
10: /* */
11: /**************************************************************************/package mlsub.typing;
12:
13: /**
14: * Error in sizes.
15: *
16: * @author Daniel Bonniot
17: */
18:
19: public class BadSizeEx extends InternalError {
20: public BadSizeEx(int expected, int actual) {
21: super (expected + " expected, " + actual + " given");
22: this .expected = expected;
23: this .actual = actual;
24: }
25:
26: public int expected, actual;
27: }
|