MaxCountExceededException extends MathIllegalStateException { public Number getMax() { return max; } MaxCountExceededException(Number max);  MaxCountExceededException(Localizable specific,
                                     Number max,
                                     Object ... args); Number getMax();  }
@Test public void testAccessors() { final MaxCountExceededException e = new MaxCountExceededException(10); Assert.assertEquals(10, e.getMax()); }