Package | Description |
---|---|
org.apache.commons.math |
Common classes used throughout the commons-math library.
|
org.apache.commons.math.estimation |
This package provided classes to solve estimation problems, it is deprecated since 2.0.
|
org.apache.commons.math.exception |
Specialized exceptions for algorithms errors.
|
org.apache.commons.math.exception.util |
Classes supporting exception localization.
|
org.apache.commons.math.geometry |
This package provides basic 3D geometry components.
|
org.apache.commons.math.linear |
Linear algebra support.
|
org.apache.commons.math.ode |
This package provides classes to solve Ordinary Differential Equations problems.
|
org.apache.commons.math.ode.events |
This package provides classes to handle discrete events occurring during
Ordinary Differential Equations integration.
|
org.apache.commons.math.optimization |
This package provides common interfaces for the optimization algorithms
provided in sub-packages.
|
Modifier and Type | Method and Description |
---|---|
Localizable |
MathException.getGeneralPattern()
Gets the localizable pattern used to build the general part of the message of this throwable.
|
Localizable |
MathRuntimeException.getGeneralPattern()
Gets the localizable pattern used to build the general part of the message of this throwable.
|
Localizable |
MathException.getSpecificPattern()
Gets the localizable pattern used to build the specific part of the message of this throwable.
|
Localizable |
MathRuntimeException.getSpecificPattern()
Gets the localizable pattern used to build the specific part of the message of this throwable.
|
Modifier and Type | Method and Description |
---|---|
static ArithmeticException |
MathRuntimeException.createArithmeticException(Localizable pattern,
Object... arguments)
Constructs a new
ArithmeticException with specified formatted detail message. |
static ArrayIndexOutOfBoundsException |
MathRuntimeException.createArrayIndexOutOfBoundsException(Localizable pattern,
Object... arguments)
Constructs a new
ArrayIndexOutOfBoundsException with specified formatted detail message. |
static ConcurrentModificationException |
MathRuntimeException.createConcurrentModificationException(Localizable pattern,
Object... arguments)
Constructs a new
ConcurrentModificationException with specified formatted detail message. |
static EOFException |
MathRuntimeException.createEOFException(Localizable pattern,
Object... arguments)
Constructs a new
EOFException with specified formatted detail message. |
static IllegalArgumentException |
MathRuntimeException.createIllegalArgumentException(Localizable pattern,
Object... arguments)
Constructs a new
IllegalArgumentException with specified formatted detail message. |
static IllegalStateException |
MathRuntimeException.createIllegalStateException(Localizable pattern,
Object... arguments)
Constructs a new
IllegalStateException with specified formatted detail message. |
static NoSuchElementException |
MathRuntimeException.createNoSuchElementException(Localizable pattern,
Object... arguments)
Constructs a new
NoSuchElementException with specified formatted detail message. |
static NullPointerException |
MathRuntimeException.createNullPointerException(Localizable pattern,
Object... arguments)
Deprecated.
in 2.2. Checks for "null" must not be performed in Commons-Math.
|
static ParseException |
MathRuntimeException.createParseException(int offset,
Localizable pattern,
Object... arguments)
Constructs a new
ParseException with specified
formatted detail message. |
static UnsupportedOperationException |
MathRuntimeException.createUnsupportedOperationException(Localizable pattern,
Object... arguments)
Deprecated.
in 2.2. Please use
MathUnsupportedOperationException
instead. |
Constructor and Description |
---|
ConvergenceException(Localizable pattern,
Object... arguments)
Constructs an exception with specified formatted detail message.
|
ConvergenceException(Throwable cause,
Localizable pattern,
Object... arguments)
Constructs an exception with specified formatted detail message and root cause.
|
FunctionEvaluationException(double[] argument,
Localizable pattern,
Object... arguments)
Constructs an exception with specified formatted detail message.
|
FunctionEvaluationException(double argument,
Localizable pattern,
Object... arguments)
Constructs an exception with specified formatted detail message.
|
FunctionEvaluationException(Throwable cause,
double[] argument,
Localizable pattern,
Object... arguments)
Constructs an exception with specified formatted detail message and root cause.
|
FunctionEvaluationException(Throwable cause,
double argument,
Localizable pattern,
Object... arguments)
Constructs an exception with specified formatted detail message and root cause.
|
MathConfigurationException(Localizable pattern,
Object... arguments)
Constructs an exception with specified formatted detail message.
|
MathConfigurationException(Throwable cause,
Localizable pattern,
Object... arguments)
Constructs an exception with specified formatted detail message and root cause.
|
MathException(Localizable pattern,
Object... arguments)
Constructs a new
MathException with specified
formatted detail message. |
MathException(Throwable rootCause,
Localizable pattern,
Object... arguments)
Constructs a new
MathException with specified
formatted detail message and nested Throwable root cause. |
MathRuntimeException(Localizable pattern,
Object... arguments)
Constructs a new
MathRuntimeException with specified
formatted detail message. |
MathRuntimeException(Throwable rootCause,
Localizable pattern,
Object... arguments)
Constructs a new
MathRuntimeException with specified
formatted detail message and nested Throwable root cause. |
MaxEvaluationsExceededException(int maxEvaluations,
Localizable pattern,
Object... arguments)
Constructs an exception with specified formatted detail message.
|
MaxIterationsExceededException(int maxIterations,
Localizable pattern,
Object... arguments)
Constructs an exception with specified formatted detail message.
|
Constructor and Description |
---|
EstimationException(Localizable specifier,
Object... parts)
Deprecated.
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
Localizable |
MathIllegalArgumentException.getGeneralPattern()
Gets the localizable pattern used to build the general part of the message of this throwable.
|
Localizable |
MathIllegalStateException.getGeneralPattern()
Gets the localizable pattern used to build the general part of the message of this throwable.
|
Localizable |
MathThrowable.getGeneralPattern()
Gets the localizable pattern used to build the general part of the message of this throwable.
|
Localizable |
MathUnsupportedOperationException.getGeneralPattern()
Gets the localizable pattern used to build the general part of the message of this throwable.
|
Localizable |
MathIllegalArgumentException.getSpecificPattern()
Gets the localizable pattern used to build the specific part of the message of this throwable.
|
Localizable |
MathIllegalStateException.getSpecificPattern()
Gets the localizable pattern used to build the specific part of the message of this throwable.
|
Localizable |
MathThrowable.getSpecificPattern()
Gets the localizable pattern used to build the specific part of the message of this throwable.
|
Localizable |
MathUnsupportedOperationException.getSpecificPattern()
Gets the localizable pattern used to build the specific part of the message of this throwable.
|
Constructor and Description |
---|
ConvergenceException(Localizable specific)
Construct the exception with a specific context.
|
ConvergenceException(Localizable specific,
Object... args)
Construct the exception with a specific context and arguments.
|
MathIllegalArgumentException(Localizable specific,
Localizable general,
Object... args) |
MathIllegalArgumentException(Localizable general,
Object... args) |
MathIllegalNumberException(Localizable specific,
Localizable general,
Number wrong,
Object... arguments)
Construct an exception.
|
MathIllegalNumberException(Localizable general,
Number wrong,
Object... arguments)
Construct an exception.
|
MathIllegalStateException(Localizable specific,
Localizable general,
Object... args)
Simple constructor.
|
MathIllegalStateException(Localizable general,
Object... args) |
MathIllegalStateException(Throwable cause,
Localizable specific,
Localizable general,
Object... args)
Simple constructor.
|
MathIllegalStateException(Throwable cause,
Localizable general,
Object... args)
Simple constructor.
|
MathUnsupportedOperationException(Localizable specific,
Object... args) |
NoDataException(Localizable specific)
Construct the exception with a specific context.
|
NotPositiveException(Localizable specific,
Number value)
Construct the exception with a specific context.
|
NotStrictlyPositiveException(Localizable specific,
Number value)
Construct the exception with a specific context.
|
NullArgumentException(Localizable specific) |
NumberIsTooLargeException(Localizable specific,
Number wrong,
Number max,
boolean boundIsAllowed)
Construct the exception with a specific context.
|
NumberIsTooSmallException(Localizable specific,
Number wrong,
Number min,
boolean boundIsAllowed)
Construct the exception with a specific context.
|
ZeroException(Localizable specific)
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 | Method and Description |
---|---|
static String |
MessageFactory.buildMessage(Locale locale,
Localizable specific,
Localizable general,
Object... arguments)
Builds a message string by from two patterns (specific and general) and
an argument list.
|
static String |
MessageFactory.buildMessage(Locale locale,
Localizable pattern,
Object... arguments)
Builds a message string by from a pattern and its arguments.
|
Constructor and Description |
---|
NotARotationMatrixException(Localizable specifier,
Object... parts)
Simple constructor.
|
Constructor and Description |
---|
InvalidMatrixException(Localizable pattern,
Object... arguments)
Construct an exception with the given message.
|
MatrixIndexException(Localizable pattern,
Object... arguments)
Constructs a new instance with specified formatted detail message.
|
MatrixVisitorException(Localizable pattern,
Object[] arguments)
Constructs a new instance with specified formatted detail message.
|
Constructor and Description |
---|
DerivativeException(Localizable specifier,
Object... parts)
Simple constructor.
|
IntegratorException(Localizable specifier,
Object... parts)
Simple constructor.
|
Constructor and Description |
---|
EventException(Localizable specifier,
Object... parts)
Simple constructor.
|
Constructor and Description |
---|
OptimizationException(Localizable specifier,
Object... parts)
Deprecated.
Simple constructor.
|
Copyright © 2003–2016. All rights reserved.