Specialized exceptions for algorithms errors.
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. InsufficientDataExceptionException to be thrown when there is insufficient data to perform a computation. MathArithmeticExceptionBase class for arithmetic exceptions. 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. MathParseExceptionClass to signal parse failures. MathRuntimeExceptionAs of release 4.0, all exceptions thrown by the Commons Math code (except
NullArgumentException) inherit from this class.
MathUnsupportedOperationExceptionBase class for all unsupported features. MaxCountExceededExceptionException to be thrown when some counter maximum value is exceeded. MultiDimensionMismatchExceptionException to be thrown when two sets of dimensions differ. NoBracketingExceptionException to be thrown when function values have the same sign at both ends of an interval. NoDataExceptionException to be thrown when the required data is missing. NonMonotonicSequenceExceptionException to be thrown when the a sequence of values is not monotonically increasing or decreasing. NotANumberExceptionException to be thrown when a number is not a number. NotFiniteNumberExceptionException to be thrown when a number is not finite. NotPositiveExceptionException to be thrown when the argument is negative. NotStrictlyPositiveExceptionException to be thrown when the argument is not greater than 0. 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. TooManyEvaluationsExceptionException to be thrown when the maximal number of evaluations is exceeded. TooManyIterationsExceptionException to be thrown when the maximal number of iterations is exceeded. ZeroExceptionException to be thrown when zero is provided where it is not allowed.
Package org.apache.commons.math3.exception Description
Specialized exceptions for algorithms errors. The exceptions can be localized using simple java properties.
SCaVis 1.7 © jWork.org