Hi all, With the exception refactoring, MathRuntimeException has been deprecated in branch 2.X (but it is neither deprecated nor deleted in trunk for now ...).
This class did include a createInternalError static method that is useful in defensive programming for difficult cases. It is used at 4 different places in branch 2.X and could be used in other places too (I generally place one such thing in the default statement of a switch case when all cases are known to be handled, as a security layer for later changes in the number of cases). So I propose to add a dedicated exception for this feature, probably inheriting from MathIllegalStateException. Any thoughts ? Luc --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org