Specialized exceptions for algorithms errors. The exceptions can be localized using simple java properties.
Interface Summary Interface Description MathThrowableInterface for commons-math throwables.
Exception Summary Exception Description ConvergenceExceptionError thrown when a numerical computation can not be performed because the numerical result failed to converge to a finite value. DimensionMismatchExceptionException to be thrown when two dimensions differ. MathIllegalArgumentExceptionBase class for all preconditions violation exceptions. MathIllegalNumberExceptionBase class for exceptions raised by a wrong number. MathIllegalStateExceptionBase class for all exceptions that signal a mismatch between the current state and the user's expectations. MathInternalErrorException triggered when something that shouldn't happen does happen. MathUnsupportedOperationExceptionBase class for all unsupported features. NoDataExceptionException to be thrown when the required data is missing. NonMonotonousSequenceExceptionException to be thrown when the a sequence of values is not monotonously increasing or decreasing. NotPositiveExceptionException to be thrown when the argument is negative. NotStrictlyPositiveExceptionException to be thrown when the argument is negative. NullArgumentExceptionAll conditions checks that fail due to a
nullargument must throw this exception.
NumberIsTooLargeExceptionException to be thrown when a number is too large. NumberIsTooSmallExceptionException to be thrown when a number is too small. OutOfRangeExceptionException to be thrown when some argument is out of range. ZeroExceptionException to be thrown when zero is provided where it is not allowed.