Package | Description |
---|---|
org.apache.commons.math3.exception |
Specialized exceptions for algorithms errors.
|
org.apache.commons.math3.exception.util |
Classes supporting exception localization.
|
org.apache.commons.math3.genetics |
This package provides Genetic Algorithms components and implementations.
|
org.apache.commons.math3.geometry.euclidean.threed |
This package provides basic 3D geometry components.
|
org.apache.commons.math3.stat.regression |
Statistical routines involving multivariate data.
|
org.apache.commons.math3.util |
Convenience routines and common data structures used throughout the commons-math library.
|
Constructor and Description |
---|
ConvergenceException(Localizable pattern,
java.lang.Object... args)
Construct the exception with a specific context and arguments.
|
DimensionMismatchException(Localizable specific,
int wrong,
int expected)
Construct an exception from the mismatched dimensions.
|
InsufficientDataException(Localizable pattern,
java.lang.Object... arguments)
Construct the exception with a specific context.
|
MathArithmeticException(Localizable pattern,
java.lang.Object... args)
Constructor with a specific message.
|
MathIllegalArgumentException(Localizable pattern,
java.lang.Object... args) |
MathIllegalNumberException(Localizable pattern,
java.lang.Number wrong,
java.lang.Object... arguments)
Construct an exception.
|
MathIllegalStateException(Localizable pattern,
java.lang.Object... args)
Simple constructor.
|
MathIllegalStateException(java.lang.Throwable cause,
Localizable pattern,
java.lang.Object... args)
Simple constructor.
|
MathInternalError(Localizable pattern,
java.lang.Object... args)
Constructor accepting a localized message.
|
MathRuntimeException(Localizable pattern,
java.lang.Object... args) |
MathUnsupportedOperationException(Localizable pattern,
java.lang.Object... args) |
MaxCountExceededException(Localizable specific,
java.lang.Number max,
java.lang.Object... args)
Construct the exception with a specific context.
|
MultiDimensionMismatchException(Localizable specific,
java.lang.Integer[] wrong,
java.lang.Integer[] expected)
Construct an exception from the mismatched dimensions.
|
NoBracketingException(Localizable specific,
double lo,
double hi,
double fLo,
double fHi,
java.lang.Object... args)
Construct the exception with a specific context.
|
NoDataException(Localizable specific)
Construct the exception with a specific context.
|
NotFiniteNumberException(Localizable specific,
java.lang.Number wrong,
java.lang.Object... args)
Construct the exception with a specific context.
|
NotPositiveException(Localizable specific,
java.lang.Number value)
Construct the exception with a specific context.
|
NotStrictlyPositiveException(Localizable specific,
java.lang.Number value)
Construct the exception with a specific context.
|
NullArgumentException(Localizable pattern,
java.lang.Object... arguments) |
NumberIsTooLargeException(Localizable specific,
java.lang.Number wrong,
java.lang.Number max,
boolean boundIsAllowed)
Construct the exception with a specific context.
|
NumberIsTooSmallException(Localizable specific,
java.lang.Number wrong,
java.lang.Number min,
boolean boundIsAllowed)
Construct the exception with a specific context.
|
OutOfRangeException(Localizable specific,
java.lang.Number wrong,
java.lang.Number lo,
java.lang.Number hi)
Construct an exception from the mismatched dimensions with a
specific context information.
|
ZeroException(Localizable specific,
java.lang.Object... arguments)
Construct the exception with a specific context.
|
Modifier and Type | Class and Description |
---|---|
class |
DummyLocalizable
Dummy implementation of the
Localizable interface, without localization. |
class |
LocalizedFormats
Enumeration for localized messages formats used in exceptions messages.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Localizable> |
ExceptionContext.msgPatterns
Various informations that enrich the informative message.
|
Modifier and Type | Method and Description |
---|---|
void |
ExceptionContext.addMessage(Localizable pattern,
java.lang.Object... arguments)
Adds a message.
|
Constructor and Description |
---|
InvalidRepresentationException(Localizable pattern,
java.lang.Object... args)
Construct an InvalidRepresentationException with a specialized message.
|
Constructor and Description |
---|
NotARotationMatrixException(Localizable specifier,
java.lang.Object... parts)
Simple constructor.
|
Constructor and Description |
---|
ModelSpecificationException(Localizable pattern,
java.lang.Object... args) |
Modifier and Type | Method and Description |
---|---|
private static long |
ArithmeticUtils.addAndCheck(long a,
long b,
Localizable pattern)
Add two long integers, checking for overflow.
|
static void |
MathUtils.checkNotNull(java.lang.Object o,
Localizable pattern,
java.lang.Object... args)
Checks that an object is not null.
|