# Uses of Interface
org.apache.commons.math3.exception.util.ExceptionContextProvider

Packages that use ExceptionContextProvider
Package
Description
org.apache.commons.math3.exception
Specialized exceptions for algorithms errors.
org.apache.commons.math3.fraction
Fraction number type and fraction number formatting.
org.apache.commons.math3.genetics
This package provides Genetic Algorithms components and implementations.
org.apache.commons.math3.geometry.euclidean.oned
This package provides basic 1D geometry components.
org.apache.commons.math3.geometry.euclidean.threed
This package provides basic 3D geometry components.
org.apache.commons.math3.geometry.spherical.oned
This package provides basic geometry components on the 1-sphere.
org.apache.commons.math3.linear
Linear algebra support.
org.apache.commons.math3.ode
This package provides classes to solve Ordinary Differential Equations problems.
org.apache.commons.math3.optim.linear
Optimization algorithms for linear constrained problems.
org.apache.commons.math3.optimization.linear
This package provides optimization algorithms for linear constrained problems.
org.apache.commons.math3.stat.regression
Statistical routines involving multivariate data.

## Uses of ExceptionContextProvider in org.apache.commons.math3.exception

Classes in org.apache.commons.math3.exception that implement ExceptionContextProvider
Modifier and Type
Class
Description
`class`
`ConvergenceException`
Error thrown when a numerical computation can not be performed because the numerical result failed to converge to a finite value.
`class`
`DimensionMismatchException`
Exception to be thrown when two dimensions differ.
`class`
`InsufficientDataException`
Exception to be thrown when there is insufficient data to perform a computation.
`class`
`MathArithmeticException`
Base class for arithmetic exceptions.
`class`
`MathIllegalArgumentException`
Base class for all preconditions violation exceptions.
`class`
`MathIllegalNumberException`
Base class for exceptions raised by a wrong number.
`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.
`class`
`MathInternalError`
Exception triggered when something that shouldn't happen does happen.
`class`
`MathParseException`
Class to signal parse failures.
`class`
`MathRuntimeException`
As of release 4.0, all exceptions thrown by the Commons Math code (except `NullArgumentException`) inherit from this class.
`class`
`MathUnsupportedOperationException`
Base class for all unsupported features.
`class`
`MaxCountExceededException`
Exception to be thrown when some counter maximum value is exceeded.
`class`
`MultiDimensionMismatchException`
Exception to be thrown when two sets of dimensions differ.
`class`
`NoBracketingException`
Exception to be thrown when function values have the same sign at both ends of an interval.
`class`
`NoDataException`
Exception to be thrown when the required data is missing.
`class`
`NonMonotonicSequenceException`
Exception to be thrown when the a sequence of values is not monotonically increasing or decreasing.
`class`
`NotANumberException`
Exception to be thrown when a number is not a number.
`class`
`NotFiniteNumberException`
Exception to be thrown when a number is not finite.
`class`
`NotPositiveException`
Exception to be thrown when the argument is negative.
`class`
`NotStrictlyPositiveException`
Exception to be thrown when the argument is not greater than 0.
`class`
`NullArgumentException`
All conditions checks that fail due to a `null` argument must throw this exception.
`class`
`NumberIsTooLargeException`
Exception to be thrown when a number is too large.
`class`
`NumberIsTooSmallException`
Exception to be thrown when a number is too small.
`class`
`OutOfRangeException`
Exception to be thrown when some argument is out of range.
`class`
`TooManyEvaluationsException`
Exception to be thrown when the maximal number of evaluations is exceeded.
`class`
`TooManyIterationsException`
Exception to be thrown when the maximal number of iterations is exceeded.
`class`
`ZeroException`
Exception to be thrown when zero is provided where it is not allowed.

## Uses of ExceptionContextProvider in org.apache.commons.math3.fraction

Classes in org.apache.commons.math3.fraction that implement ExceptionContextProvider
Modifier and Type
Class
Description
`class`
`FractionConversionException`
Error thrown when a double value cannot be converted to a fraction in the allowed number of iterations.

## Uses of ExceptionContextProvider in org.apache.commons.math3.genetics

Classes in org.apache.commons.math3.genetics that implement ExceptionContextProvider
Modifier and Type
Class
Description
`class`
`InvalidRepresentationException`
Exception indicating that the representation of a chromosome is not valid.

## Uses of ExceptionContextProvider in org.apache.commons.math3.geometry.euclidean.oned

Classes in org.apache.commons.math3.geometry.euclidean.oned that implement ExceptionContextProvider
Modifier and Type
Class
Description
`static class`
`Euclidean1D.NoSubSpaceException`
Specialized exception for inexistent sub-space.

## Uses of ExceptionContextProvider in org.apache.commons.math3.geometry.euclidean.threed

Classes in org.apache.commons.math3.geometry.euclidean.threed that implement ExceptionContextProvider
Modifier and Type
Class
Description
`class`
`CardanEulerSingularityException`
This class represents exceptions thrown while extractiong Cardan or Euler angles from a rotation.
`class`
`NotARotationMatrixException`
This class represents exceptions thrown while building rotations from matrices.

## Uses of ExceptionContextProvider in org.apache.commons.math3.geometry.spherical.oned

Classes in org.apache.commons.math3.geometry.spherical.oned that implement ExceptionContextProvider
Modifier and Type
Class
Description
`static class`
`ArcsSet.InconsistentStateAt2PiWrapping`
Specialized exception for inconsistent BSP tree state inconsistency.
`static class`
`Sphere1D.NoSubSpaceException`
Specialized exception for inexistent sub-space.

## Uses of ExceptionContextProvider in org.apache.commons.math3.linear

Classes in org.apache.commons.math3.linear that implement ExceptionContextProvider
Modifier and Type
Class
Description
`class`
`IllConditionedOperatorException`
An exception to be thrown when the condition number of a `RealLinearOperator` is too high.
`class`
`MatrixDimensionMismatchException`
Exception to be thrown when either the number of rows or the number of columns of a matrix do not match the expected values.
`class`
`NonPositiveDefiniteMatrixException`
Exception to be thrown when a positive definite matrix is expected.
`class`
`NonPositiveDefiniteOperatorException`
Exception to be thrown when a symmetric, definite positive `RealLinearOperator` is expected.
`class`
`NonSelfAdjointOperatorException`
Exception to be thrown when a self-adjoint `RealLinearOperator` is expected.
`class`
`NonSquareMatrixException`
Exception to be thrown when a square matrix is expected.
`class`
`NonSquareOperatorException`
Exception to be thrown when a square linear operator is expected.
`class`
`NonSymmetricMatrixException`
Exception to be thrown when a symmetric matrix is expected.
`class`
`SingularMatrixException`
Exception to be thrown when a non-singular matrix is expected.
`class`
`SingularOperatorException`
Exception to be thrown when trying to invert a singular operator.

## Uses of ExceptionContextProvider in org.apache.commons.math3.ode

Classes in org.apache.commons.math3.ode that implement ExceptionContextProvider
Modifier and Type
Class
Description
`static class`
`JacobianMatrices.MismatchedEquations`
Special exception for equations mismatch.
`class`
`UnknownParameterException`
Exception to be thrown when a parameter is unknown.

## Uses of ExceptionContextProvider in org.apache.commons.math3.optim.linear

Classes in org.apache.commons.math3.optim.linear that implement ExceptionContextProvider
Modifier and Type
Class
Description
`class`
`NoFeasibleSolutionException`
This class represents exceptions thrown by optimizers when no solution fulfills the constraints.
`class`
`UnboundedSolutionException`
This class represents exceptions thrown by optimizers when a solution escapes to infinity.

## Uses of ExceptionContextProvider in org.apache.commons.math3.optimization.linear

Classes in org.apache.commons.math3.optimization.linear that implement ExceptionContextProvider
Modifier and Type
Class
Description
`class`
`NoFeasibleSolutionException`
Deprecated.
As of 3.1 (to be removed in 4.0).
`class`
`UnboundedSolutionException`
Deprecated.
As of 3.1 (to be removed in 4.0).

## Uses of ExceptionContextProvider in org.apache.commons.math3.stat.regression

Classes in org.apache.commons.math3.stat.regression that implement ExceptionContextProvider
Modifier and Type
Class
Description
`class`
`ModelSpecificationException`
Exception thrown when a regression model is not correctly specified.