Package org.apache.commons.math.exception
Specialized exceptions for algorithms errors. The exceptions can be localized
using simple java properties.
-
Interface Summary Interface Description MathThrowable Interface for commons-math throwables. -
Exception Summary Exception Description ConvergenceException Error thrown when a numerical computation can not be performed because the numerical result failed to converge to a finite value.DimensionMismatchException Exception to be thrown when two dimensions differ.MathIllegalArgumentException Base class for all preconditions violation exceptions.MathIllegalNumberException Base class for exceptions raised by a wrong number.MathIllegalStateException Base class for all exceptions that signal a mismatch between the current state and the user's expectations.MathInternalError Exception triggered when something that shouldn't happen does happen.MathUnsupportedOperationException Base class for all unsupported features.NoDataException Exception to be thrown when the required data is missing.NonMonotonousSequenceException Exception to be thrown when the a sequence of values is not monotonously increasing or decreasing.NotPositiveException Exception to be thrown when the argument is negative.NotStrictlyPositiveException Exception to be thrown when the argument is negative.NullArgumentException All conditions checks that fail due to anull
argument must throw this exception.NumberIsTooLargeException Exception to be thrown when a number is too large.NumberIsTooSmallException Exception to be thrown when a number is too small.OutOfRangeException Exception to be thrown when some argument is out of range.ZeroException Exception to be thrown when zero is provided where it is not allowed.