Package org.apache.commons.math4.legacy.exception
Specialized exceptions for algorithms errors. The exceptions can be localized
using simple java properties.
-
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.InsufficientDataException Exception to be thrown when there is insufficient data to perform a computation.MathArithmeticException Base class for arithmetic exceptions.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 that the process throwing the exception is in a state that does not comply with the set of states that it is designed to be in.MathInternalError Exception triggered when something that shouldn't happen does happen.MathParseException Class to signal parse failures.MathRuntimeException As of release 4.0, all exceptions thrown by the Commons Math code (exceptNullArgumentException
) inherit from this class.MathUnsupportedOperationException Base class for all unsupported features.MaxCountExceededException Exception to be thrown when some counter maximum value is exceeded.MultiDimensionMismatchException Exception to be thrown when two sets of dimensions differ.NoBracketingException Exception to be thrown when function values have the same sign at both ends of an interval.NoDataException Exception to be thrown when the required data is missing.NonMonotonicSequenceException Exception to be thrown when the a sequence of values is not monotonically increasing or decreasing.NotANumberException Exception to be thrown when a number is not a number.NotFiniteNumberException Exception to be thrown when a number is not finite.NotPositiveException Exception to be thrown when the argument is negative.NotStrictlyPositiveException Exception to be thrown when the argument is not greater than 0.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.TooManyEvaluationsException Exception to be thrown when the maximal number of evaluations is exceeded.TooManyIterationsException Exception to be thrown when the maximal number of iterations is exceeded.ZeroException Exception to be thrown when zero is provided where it is not allowed.