DimensionMismatchException extends MathIllegalNumberException { public int getDimension() { return dimension; } DimensionMismatchException(Localizable specific,
                                      int wrong,
                                      int expected);  DimensionMismatchException(int wrong,
                                      int expected); int getDimension();  }
@Test public void testAccessors() { final DimensionMismatchException e = new DimensionMismatchException(1, 2); Assert.assertEquals(1, e.getArgument()); Assert.assertEquals(2, e.getDimension()); }