Top Description Classes
[default module]

Package org.apache.commons.math3.exception


Specialized exceptions for algorithms errors. The exceptions can be localized using simple java properties.

Class Summary

Modifier and TypeClass and Description
public class
ConvergenceException

Error thrown when a numerical computation can not be performed because the numerical result failed to converge to a finite value.

public class
DimensionMismatchException

Exception to be thrown when two dimensions differ.

public class
InsufficientDataException

Exception to be thrown when there is insufficient data to perform a computation.

public class
MathArithmeticException

Base class for arithmetic exceptions.

public class
MathIllegalArgumentException

Base class for all preconditions violation exceptions.

public class
MathIllegalNumberException

Base class for exceptions raised by a wrong number.

public class
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.

public class
MathInternalError

Exception triggered when something that shouldn't happen does happen.

public class
MathParseException

Class to signal parse failures.

public class
MathRuntimeException

As of release 4.0, all exceptions thrown by the Commons Math code (except NullArgumentException) inherit from this class.

public class
MathUnsupportedOperationException

Base class for all unsupported features.

public class
MaxCountExceededException

Exception to be thrown when some counter maximum value is exceeded.

public class
MultiDimensionMismatchException

Exception to be thrown when two sets of dimensions differ.

public class
NoBracketingException

Exception to be thrown when function values have the same sign at both ends of an interval.

public class
NoDataException

Exception to be thrown when the required data is missing.

public class
NonMonotonicSequenceException

Exception to be thrown when the a sequence of values is not monotonically increasing or decreasing.

public class
NotANumberException

Exception to be thrown when a number is not a number.

public class
NotFiniteNumberException

Exception to be thrown when a number is not finite.

public class
NotPositiveException

Exception to be thrown when the argument is negative.

public class
NotStrictlyPositiveException

Exception to be thrown when the argument is not greater than 0.

public class
NullArgumentException

All conditions checks that fail due to a null argument must throw this exception.

public class
NumberIsTooLargeException

Exception to be thrown when a number is too large.

public class
NumberIsTooSmallException

Exception to be thrown when a number is too small.

public class
OutOfRangeException

Exception to be thrown when some argument is out of range.

public class
TooManyEvaluationsException

Exception to be thrown when the maximal number of evaluations is exceeded.

public class
TooManyIterationsException

Exception to be thrown when the maximal number of iterations is exceeded.

public class
ZeroException

Exception to be thrown when zero is provided where it is not allowed.