From d2fd025403ff0412ff2c8b515805c69c05fc67c3 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Tue, 10 Aug 2010 10:46:06 +0000 Subject: [PATCH] Moved "Localizable", "DummyLocalizable" and "LocalizedFormats" from package "exception" to package "exception.util". Modified "import" statements in all affected files. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@983921 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/math/ConvergenceException.java | 6 +++--- .../org/apache/commons/math/DimensionMismatchException.java | 2 +- .../commons/math/DuplicateSampleAbscissaException.java | 2 +- .../apache/commons/math/FunctionEvaluationException.java | 6 +++--- .../org/apache/commons/math/MathConfigurationException.java | 4 ++-- src/main/java/org/apache/commons/math/MathException.java | 6 +++--- .../java/org/apache/commons/math/MathRuntimeException.java | 6 +++--- .../commons/math/MaxEvaluationsExceededException.java | 6 +++--- .../apache/commons/math/MaxIterationsExceededException.java | 6 +++--- .../math/analysis/integration/LegendreGaussIntegrator.java | 2 +- .../math/analysis/integration/RombergIntegrator.java | 2 +- .../math/analysis/integration/SimpsonIntegrator.java | 2 +- .../math/analysis/integration/TrapezoidIntegrator.java | 2 +- .../analysis/integration/UnivariateRealIntegratorImpl.java | 2 +- .../math/analysis/interpolation/LinearInterpolator.java | 2 +- .../math/analysis/interpolation/LoessInterpolator.java | 4 ++-- .../interpolation/SmoothingBicubicSplineInterpolator.java | 2 +- .../math/analysis/interpolation/SplineInterpolator.java | 2 +- .../math/analysis/polynomials/PolynomialFunction.java | 2 +- .../polynomials/PolynomialFunctionLagrangeForm.java | 2 +- .../analysis/polynomials/PolynomialFunctionNewtonForm.java | 2 +- .../math/analysis/polynomials/PolynomialSplineFunction.java | 2 +- .../apache/commons/math/analysis/solvers/BrentSolver.java | 2 +- .../commons/math/analysis/solvers/LaguerreSolver.java | 2 +- .../apache/commons/math/analysis/solvers/NewtonSolver.java | 2 +- .../apache/commons/math/analysis/solvers/SecantSolver.java | 2 +- .../math/analysis/solvers/UnivariateRealSolverImpl.java | 2 +- .../math/analysis/solvers/UnivariateRealSolverUtils.java | 2 +- src/main/java/org/apache/commons/math/complex/Complex.java | 2 +- .../java/org/apache/commons/math/complex/ComplexFormat.java | 2 +- .../java/org/apache/commons/math/complex/ComplexUtils.java | 2 +- .../math/distribution/AbstractContinuousDistribution.java | 2 +- .../commons/math/distribution/AbstractDistribution.java | 2 +- .../math/distribution/AbstractIntegerDistribution.java | 2 +- .../commons/math/distribution/BetaDistributionImpl.java | 2 +- .../commons/math/distribution/BinomialDistributionImpl.java | 2 +- .../commons/math/distribution/CauchyDistributionImpl.java | 2 +- .../math/distribution/ExponentialDistributionImpl.java | 2 +- .../apache/commons/math/distribution/FDistributionImpl.java | 2 +- .../commons/math/distribution/GammaDistributionImpl.java | 2 +- .../math/distribution/HypergeometricDistributionImpl.java | 2 +- .../commons/math/distribution/NormalDistributionImpl.java | 2 +- .../commons/math/distribution/PascalDistributionImpl.java | 2 +- .../commons/math/distribution/PoissonDistributionImpl.java | 2 +- .../apache/commons/math/distribution/TDistributionImpl.java | 2 +- .../commons/math/distribution/WeibullDistributionImpl.java | 2 +- .../commons/math/distribution/ZipfDistributionImpl.java | 2 +- .../apache/commons/math/estimation/AbstractEstimator.java | 2 +- .../apache/commons/math/estimation/EstimationException.java | 4 ++-- .../commons/math/estimation/GaussNewtonEstimator.java | 2 +- .../math/estimation/LevenbergMarquardtEstimator.java | 2 +- .../commons/math/exception/DimensionMismatchException.java | 1 + .../math/exception/MathIllegalArgumentException.java | 1 + .../commons/math/exception/MathIllegalNumberException.java | 1 + .../math/exception/MathUnsupportedOperationException.java | 3 ++- .../org/apache/commons/math/exception/NoDataException.java | 2 ++ .../math/exception/NonMonotonousSequenceException.java | 1 + .../apache/commons/math/exception/NotPositiveException.java | 1 + .../math/exception/NotStrictlyPositiveException.java | 1 + .../commons/math/exception/NullArgumentException.java | 3 +++ .../commons/math/exception/NumberIsTooLargeException.java | 2 ++ .../commons/math/exception/NumberIsTooSmallException.java | 2 ++ .../apache/commons/math/exception/OutOfRangeException.java | 1 + .../org/apache/commons/math/exception/ZeroException.java | 2 ++ .../commons/math/exception/{ => util}/DummyLocalizable.java | 2 +- .../commons/math/exception/{ => util}/Localizable.java | 2 +- .../commons/math/exception/{ => util}/LocalizedFormats.java | 2 +- .../apache/commons/math/exception/util/MessageFactory.java | 2 -- .../org/apache/commons/math/fraction/AbstractFormat.java | 2 +- .../java/org/apache/commons/math/fraction/BigFraction.java | 2 +- .../org/apache/commons/math/fraction/BigFractionFormat.java | 2 +- .../java/org/apache/commons/math/fraction/Fraction.java | 2 +- .../commons/math/fraction/FractionConversionException.java | 2 +- .../org/apache/commons/math/fraction/FractionFormat.java | 2 +- .../commons/math/fraction/ProperBigFractionFormat.java | 2 +- .../apache/commons/math/fraction/ProperFractionFormat.java | 2 +- .../org/apache/commons/math/genetics/ListPopulation.java | 2 +- .../org/apache/commons/math/genetics/RandomKeyMutation.java | 2 +- .../math/geometry/CardanEulerSingularityException.java | 2 +- .../commons/math/geometry/NotARotationMatrixException.java | 2 +- .../java/org/apache/commons/math/geometry/Rotation.java | 2 +- .../java/org/apache/commons/math/geometry/Vector3D.java | 2 +- .../org/apache/commons/math/geometry/Vector3DFormat.java | 2 +- .../org/apache/commons/math/linear/AbstractFieldMatrix.java | 2 +- .../org/apache/commons/math/linear/AbstractRealMatrix.java | 2 +- .../org/apache/commons/math/linear/AbstractRealVector.java | 2 +- .../apache/commons/math/linear/Array2DRowFieldMatrix.java | 2 +- .../apache/commons/math/linear/Array2DRowRealMatrix.java | 2 +- .../org/apache/commons/math/linear/ArrayFieldVector.java | 2 +- .../org/apache/commons/math/linear/ArrayRealVector.java | 2 +- .../java/org/apache/commons/math/linear/BigMatrixImpl.java | 2 +- .../org/apache/commons/math/linear/BlockFieldMatrix.java | 2 +- .../org/apache/commons/math/linear/BlockRealMatrix.java | 2 +- .../commons/math/linear/CholeskyDecompositionImpl.java | 2 +- .../apache/commons/math/linear/EigenDecompositionImpl.java | 2 +- .../commons/math/linear/FieldLUDecompositionImpl.java | 2 +- .../apache/commons/math/linear/InvalidMatrixException.java | 4 ++-- .../org/apache/commons/math/linear/LUDecompositionImpl.java | 2 +- .../apache/commons/math/linear/MatrixIndexException.java | 4 ++-- .../java/org/apache/commons/math/linear/MatrixUtils.java | 2 +- .../apache/commons/math/linear/MatrixVisitorException.java | 2 +- .../commons/math/linear/NonSquareMatrixException.java | 2 +- .../math/linear/NotPositiveDefiniteMatrixException.java | 2 +- .../commons/math/linear/NotSymmetricMatrixException.java | 2 +- .../org/apache/commons/math/linear/OpenMapRealVector.java | 2 +- .../org/apache/commons/math/linear/QRDecompositionImpl.java | 2 +- .../java/org/apache/commons/math/linear/RealMatrixImpl.java | 2 +- .../org/apache/commons/math/linear/RealVectorFormat.java | 2 +- .../apache/commons/math/linear/SingularMatrixException.java | 2 +- .../commons/math/linear/SingularValueDecompositionImpl.java | 2 +- .../org/apache/commons/math/linear/SparseFieldVector.java | 2 +- .../org/apache/commons/math/ode/AbstractIntegrator.java | 2 +- .../org/apache/commons/math/ode/ContinuousOutputModel.java | 2 +- .../org/apache/commons/math/ode/DerivativeException.java | 4 ++-- .../org/apache/commons/math/ode/IntegratorException.java | 2 +- .../org/apache/commons/math/ode/MultistepIntegrator.java | 2 +- .../org/apache/commons/math/ode/events/EventException.java | 2 +- .../ode/jacobians/FirstOrderIntegratorWithJacobians.java | 2 +- .../math/ode/nonstiff/AdaptiveStepsizeIntegrator.java | 2 +- .../commons/math/optimization/LeastSquaresConverter.java | 2 +- .../MultiStartDifferentiableMultivariateRealOptimizer.java | 2 +- ...tiStartDifferentiableMultivariateVectorialOptimizer.java | 2 +- .../optimization/MultiStartMultivariateRealOptimizer.java | 2 +- .../optimization/MultiStartUnivariateRealOptimizer.java | 2 +- .../commons/math/optimization/OptimizationException.java | 4 ++-- .../math/optimization/direct/DirectSearchOptimizer.java | 2 +- .../optimization/fitting/GaussianDerivativeFunction.java | 2 +- .../commons/math/optimization/fitting/GaussianFunction.java | 2 +- .../optimization/fitting/GaussianParametersGuesser.java | 2 +- .../optimization/fitting/HarmonicCoefficientsGuesser.java | 2 +- .../commons/math/optimization/fitting/HarmonicFitter.java | 2 +- .../optimization/fitting/ParametricGaussianFunction.java | 2 +- .../optimization/general/AbstractLeastSquaresOptimizer.java | 2 +- .../math/optimization/general/GaussNewtonOptimizer.java | 2 +- .../optimization/general/LevenbergMarquardtOptimizer.java | 2 +- .../general/NonLinearConjugateGradientOptimizer.java | 2 +- .../optimization/linear/NoFeasibleSolutionException.java | 2 +- .../optimization/linear/UnboundedSolutionException.java | 2 +- .../commons/math/random/EmpiricalDistributionImpl.java | 2 +- .../java/org/apache/commons/math/random/RandomDataImpl.java | 2 +- .../java/org/apache/commons/math/random/ValueServer.java | 2 +- src/main/java/org/apache/commons/math/stat/Frequency.java | 2 +- src/main/java/org/apache/commons/math/stat/StatUtils.java | 2 +- .../apache/commons/math/stat/correlation/Covariance.java | 2 +- .../commons/math/stat/correlation/PearsonsCorrelation.java | 2 +- .../commons/math/stat/correlation/SpearmansCorrelation.java | 2 +- .../descriptive/AbstractStorelessUnivariateStatistic.java | 2 +- .../math/stat/descriptive/AbstractUnivariateStatistic.java | 2 +- .../math/stat/descriptive/DescriptiveStatistics.java | 2 +- .../stat/descriptive/MultivariateSummaryStatistics.java | 2 +- .../commons/math/stat/descriptive/SummaryStatistics.java | 2 +- .../commons/math/stat/descriptive/moment/GeometricMean.java | 2 +- .../commons/math/stat/descriptive/moment/Kurtosis.java | 2 +- .../commons/math/stat/descriptive/moment/SemiVariance.java | 2 +- .../commons/math/stat/descriptive/moment/Variance.java | 2 +- .../commons/math/stat/descriptive/rank/Percentile.java | 2 +- .../commons/math/stat/inference/ChiSquareTestImpl.java | 2 +- .../apache/commons/math/stat/inference/OneWayAnovaImpl.java | 2 +- .../org/apache/commons/math/stat/inference/TTestImpl.java | 2 +- .../stat/regression/AbstractMultipleLinearRegression.java | 2 +- .../commons/math/stat/regression/SimpleRegression.java | 2 +- .../commons/math/transform/FastCosineTransformer.java | 2 +- .../commons/math/transform/FastFourierTransformer.java | 2 +- .../commons/math/transform/FastHadamardTransformer.java | 2 +- .../apache/commons/math/transform/FastSineTransformer.java | 2 +- .../org/apache/commons/math/util/ContinuedFraction.java | 2 +- .../org/apache/commons/math/util/DefaultTransformer.java | 2 +- src/main/java/org/apache/commons/math/util/MathUtils.java | 4 ++-- .../apache/commons/math/util/OpenIntToDoubleHashMap.java | 2 +- .../org/apache/commons/math/util/OpenIntToFieldHashMap.java | 2 +- .../org/apache/commons/math/util/ResizableDoubleArray.java | 2 +- .../org/apache/commons/math/ConvergenceExceptionTest.java | 2 +- .../commons/math/FunctionEvaluationExceptionTest.java | 2 +- .../apache/commons/math/MathConfigurationExceptionTest.java | 2 +- .../java/org/apache/commons/math/MathExceptionTest.java | 6 +++--- .../commons/math/MaxIterationsExceededExceptionTest.java | 2 +- .../commons/math/linear/MatrixIndexExceptionTest.java | 2 +- .../math/ode/nonstiff/HighamHall54IntegratorTest.java | 2 +- src/test/java/org/apache/commons/math/util/TestBean.java | 2 +- 179 files changed, 207 insertions(+), 190 deletions(-) rename src/main/java/org/apache/commons/math/exception/{ => util}/DummyLocalizable.java (97%) rename src/main/java/org/apache/commons/math/exception/{ => util}/Localizable.java (96%) rename src/main/java/org/apache/commons/math/exception/{ => util}/LocalizedFormats.java (99%) diff --git a/src/main/java/org/apache/commons/math/ConvergenceException.java b/src/main/java/org/apache/commons/math/ConvergenceException.java index ed13ee51b..6eb980972 100644 --- a/src/main/java/org/apache/commons/math/ConvergenceException.java +++ b/src/main/java/org/apache/commons/math/ConvergenceException.java @@ -16,9 +16,9 @@ */ package org.apache.commons.math; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Error thrown when a numerical computation can not be performed because the diff --git a/src/main/java/org/apache/commons/math/DimensionMismatchException.java b/src/main/java/org/apache/commons/math/DimensionMismatchException.java index ae30bffa7..cecb0885f 100644 --- a/src/main/java/org/apache/commons/math/DimensionMismatchException.java +++ b/src/main/java/org/apache/commons/math/DimensionMismatchException.java @@ -16,7 +16,7 @@ */ package org.apache.commons.math; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Error thrown when two dimensions differ. diff --git a/src/main/java/org/apache/commons/math/DuplicateSampleAbscissaException.java b/src/main/java/org/apache/commons/math/DuplicateSampleAbscissaException.java index 83e43b7c2..00b5f772d 100644 --- a/src/main/java/org/apache/commons/math/DuplicateSampleAbscissaException.java +++ b/src/main/java/org/apache/commons/math/DuplicateSampleAbscissaException.java @@ -16,7 +16,7 @@ */ package org.apache.commons.math; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Exception thrown when a sample contains several entries at the same abscissa. diff --git a/src/main/java/org/apache/commons/math/FunctionEvaluationException.java b/src/main/java/org/apache/commons/math/FunctionEvaluationException.java index ec1de7c36..2c8b0629d 100644 --- a/src/main/java/org/apache/commons/math/FunctionEvaluationException.java +++ b/src/main/java/org/apache/commons/math/FunctionEvaluationException.java @@ -16,9 +16,9 @@ */ package org.apache.commons.math; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.linear.ArrayRealVector; /** diff --git a/src/main/java/org/apache/commons/math/MathConfigurationException.java b/src/main/java/org/apache/commons/math/MathConfigurationException.java index 21ee6030e..e413e5739 100644 --- a/src/main/java/org/apache/commons/math/MathConfigurationException.java +++ b/src/main/java/org/apache/commons/math/MathConfigurationException.java @@ -18,8 +18,8 @@ package org.apache.commons.math; import java.io.Serializable; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; /** * Signals a configuration problem with any of the factory methods. diff --git a/src/main/java/org/apache/commons/math/MathException.java b/src/main/java/org/apache/commons/math/MathException.java index 28b6a04b8..ad9fc2b7e 100644 --- a/src/main/java/org/apache/commons/math/MathException.java +++ b/src/main/java/org/apache/commons/math/MathException.java @@ -21,9 +21,9 @@ import java.io.PrintWriter; import java.text.MessageFormat; import java.util.Locale; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; /** diff --git a/src/main/java/org/apache/commons/math/MathRuntimeException.java b/src/main/java/org/apache/commons/math/MathRuntimeException.java index 1afb8881a..8cf2f0472 100644 --- a/src/main/java/org/apache/commons/math/MathRuntimeException.java +++ b/src/main/java/org/apache/commons/math/MathRuntimeException.java @@ -26,9 +26,9 @@ import java.util.ConcurrentModificationException; import java.util.Locale; import java.util.NoSuchElementException; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Base class for commons-math unchecked exceptions. diff --git a/src/main/java/org/apache/commons/math/MaxEvaluationsExceededException.java b/src/main/java/org/apache/commons/math/MaxEvaluationsExceededException.java index 02e601fec..0b1eb7efb 100644 --- a/src/main/java/org/apache/commons/math/MaxEvaluationsExceededException.java +++ b/src/main/java/org/apache/commons/math/MaxEvaluationsExceededException.java @@ -18,9 +18,9 @@ package org.apache.commons.math; import org.apache.commons.math.ConvergenceException; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Error thrown when a numerical computation exceeds its allowed diff --git a/src/main/java/org/apache/commons/math/MaxIterationsExceededException.java b/src/main/java/org/apache/commons/math/MaxIterationsExceededException.java index dbc809f50..be7290dbf 100644 --- a/src/main/java/org/apache/commons/math/MaxIterationsExceededException.java +++ b/src/main/java/org/apache/commons/math/MaxIterationsExceededException.java @@ -18,9 +18,9 @@ package org.apache.commons.math; import org.apache.commons.math.ConvergenceException; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Error thrown when a numerical computation exceeds its allowed diff --git a/src/main/java/org/apache/commons/math/analysis/integration/LegendreGaussIntegrator.java b/src/main/java/org/apache/commons/math/analysis/integration/LegendreGaussIntegrator.java index 352719478..22e98575c 100644 --- a/src/main/java/org/apache/commons/math/analysis/integration/LegendreGaussIntegrator.java +++ b/src/main/java/org/apache/commons/math/analysis/integration/LegendreGaussIntegrator.java @@ -21,7 +21,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the diff --git a/src/main/java/org/apache/commons/math/analysis/integration/RombergIntegrator.java b/src/main/java/org/apache/commons/math/analysis/integration/RombergIntegrator.java index 8d4adf090..94bda3ca5 100644 --- a/src/main/java/org/apache/commons/math/analysis/integration/RombergIntegrator.java +++ b/src/main/java/org/apache/commons/math/analysis/integration/RombergIntegrator.java @@ -20,7 +20,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the diff --git a/src/main/java/org/apache/commons/math/analysis/integration/SimpsonIntegrator.java b/src/main/java/org/apache/commons/math/analysis/integration/SimpsonIntegrator.java index 6d888030c..d802d4476 100644 --- a/src/main/java/org/apache/commons/math/analysis/integration/SimpsonIntegrator.java +++ b/src/main/java/org/apache/commons/math/analysis/integration/SimpsonIntegrator.java @@ -20,7 +20,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the diff --git a/src/main/java/org/apache/commons/math/analysis/integration/TrapezoidIntegrator.java b/src/main/java/org/apache/commons/math/analysis/integration/TrapezoidIntegrator.java index 8842624e5..567d3e35e 100644 --- a/src/main/java/org/apache/commons/math/analysis/integration/TrapezoidIntegrator.java +++ b/src/main/java/org/apache/commons/math/analysis/integration/TrapezoidIntegrator.java @@ -20,7 +20,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the diff --git a/src/main/java/org/apache/commons/math/analysis/integration/UnivariateRealIntegratorImpl.java b/src/main/java/org/apache/commons/math/analysis/integration/UnivariateRealIntegratorImpl.java index 2280e5953..a089595c8 100644 --- a/src/main/java/org/apache/commons/math/analysis/integration/UnivariateRealIntegratorImpl.java +++ b/src/main/java/org/apache/commons/math/analysis/integration/UnivariateRealIntegratorImpl.java @@ -19,7 +19,7 @@ package org.apache.commons.math.analysis.integration; import org.apache.commons.math.ConvergingAlgorithmImpl; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NullArgumentException; /** diff --git a/src/main/java/org/apache/commons/math/analysis/interpolation/LinearInterpolator.java b/src/main/java/org/apache/commons/math/analysis/interpolation/LinearInterpolator.java index d3f0c12f6..b8c58b26f 100644 --- a/src/main/java/org/apache/commons/math/analysis/interpolation/LinearInterpolator.java +++ b/src/main/java/org/apache/commons/math/analysis/interpolation/LinearInterpolator.java @@ -17,7 +17,7 @@ package org.apache.commons.math.analysis.interpolation; import org.apache.commons.math.exception.DimensionMismatchException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NumberIsTooSmallException; import org.apache.commons.math.analysis.polynomials.PolynomialFunction; import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction; diff --git a/src/main/java/org/apache/commons/math/analysis/interpolation/LoessInterpolator.java b/src/main/java/org/apache/commons/math/analysis/interpolation/LoessInterpolator.java index 1e1a8cd75..9151f5abb 100644 --- a/src/main/java/org/apache/commons/math/analysis/interpolation/LoessInterpolator.java +++ b/src/main/java/org/apache/commons/math/analysis/interpolation/LoessInterpolator.java @@ -21,8 +21,8 @@ import java.util.Arrays; import org.apache.commons.math.MathException; import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction; -import org.apache.commons.math.exception.Localizable; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the diff --git a/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java b/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java index d07507c6b..b658fdbef 100644 --- a/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java +++ b/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java @@ -23,7 +23,7 @@ import org.apache.commons.math.util.MathUtils; import org.apache.commons.math.util.MathUtils.OrderDirection; import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Generates a bicubic interpolation function. diff --git a/src/main/java/org/apache/commons/math/analysis/interpolation/SplineInterpolator.java b/src/main/java/org/apache/commons/math/analysis/interpolation/SplineInterpolator.java index 35bddff54..54d27f862 100644 --- a/src/main/java/org/apache/commons/math/analysis/interpolation/SplineInterpolator.java +++ b/src/main/java/org/apache/commons/math/analysis/interpolation/SplineInterpolator.java @@ -17,7 +17,7 @@ package org.apache.commons.math.analysis.interpolation; import org.apache.commons.math.exception.DimensionMismatchException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NumberIsTooSmallException; import org.apache.commons.math.analysis.polynomials.PolynomialFunction; import org.apache.commons.math.analysis.polynomials.PolynomialSplineFunction; diff --git a/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunction.java b/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunction.java index bd57a3b02..c7f24157e 100644 --- a/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunction.java +++ b/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunction.java @@ -19,7 +19,7 @@ package org.apache.commons.math.analysis.polynomials; import java.io.Serializable; import java.util.Arrays; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NoDataException; import org.apache.commons.math.analysis.DifferentiableUnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction; diff --git a/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionLagrangeForm.java b/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionLagrangeForm.java index ce77ac164..1f983a158 100644 --- a/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionLagrangeForm.java +++ b/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionLagrangeForm.java @@ -20,7 +20,7 @@ import org.apache.commons.math.DuplicateSampleAbscissaException; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the representation of a real polynomial function in diff --git a/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionNewtonForm.java b/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionNewtonForm.java index 6573285d5..d659c7dc9 100644 --- a/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionNewtonForm.java +++ b/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialFunctionNewtonForm.java @@ -19,7 +19,7 @@ package org.apache.commons.math.analysis.polynomials; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the representation of a real polynomial function in diff --git a/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialSplineFunction.java b/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialSplineFunction.java index d32561bbe..199665c0d 100644 --- a/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialSplineFunction.java +++ b/src/main/java/org/apache/commons/math/analysis/polynomials/PolynomialSplineFunction.java @@ -22,7 +22,7 @@ import org.apache.commons.math.ArgumentOutsideDomainException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.DifferentiableUnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Represents a polynomial spline function. diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/BrentSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/BrentSolver.java index 70f2b4184..71ac6915d 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/BrentSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/BrentSolver.java @@ -21,7 +21,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java index f5650ade5..af1a3a0c0 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java @@ -23,7 +23,7 @@ import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.polynomials.PolynomialFunction; import org.apache.commons.math.complex.Complex; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/NewtonSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/NewtonSolver.java index 5b81d1035..34c1ea3d3 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/NewtonSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/NewtonSolver.java @@ -22,7 +22,7 @@ import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.analysis.DifferentiableUnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/SecantSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/SecantSolver.java index 8bb7724ef..60fb45123 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/SecantSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/SecantSolver.java @@ -21,7 +21,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverImpl.java b/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverImpl.java index 59d62b7d0..ac63c94d4 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverImpl.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverImpl.java @@ -21,7 +21,7 @@ import org.apache.commons.math.ConvergingAlgorithmImpl; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NullArgumentException; /** diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtils.java b/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtils.java index 1ee435ae1..3f2fb04a2 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtils.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtils.java @@ -20,7 +20,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.ConvergenceException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NullArgumentException; /** diff --git a/src/main/java/org/apache/commons/math/complex/Complex.java b/src/main/java/org/apache/commons/math/complex/Complex.java index f2c6a2f6d..a8f5f5a6c 100644 --- a/src/main/java/org/apache/commons/math/complex/Complex.java +++ b/src/main/java/org/apache/commons/math/complex/Complex.java @@ -23,7 +23,7 @@ import java.util.List; import org.apache.commons.math.FieldElement; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.util.MathUtils; /** diff --git a/src/main/java/org/apache/commons/math/complex/ComplexFormat.java b/src/main/java/org/apache/commons/math/complex/ComplexFormat.java index 871189615..e4b5a2cba 100644 --- a/src/main/java/org/apache/commons/math/complex/ComplexFormat.java +++ b/src/main/java/org/apache/commons/math/complex/ComplexFormat.java @@ -24,7 +24,7 @@ import java.text.ParsePosition; import java.util.Locale; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.util.CompositeFormat; import org.apache.commons.math.exception.NullArgumentException; diff --git a/src/main/java/org/apache/commons/math/complex/ComplexUtils.java b/src/main/java/org/apache/commons/math/complex/ComplexUtils.java index 346575216..dc9a76e0a 100644 --- a/src/main/java/org/apache/commons/math/complex/ComplexUtils.java +++ b/src/main/java/org/apache/commons/math/complex/ComplexUtils.java @@ -18,7 +18,7 @@ package org.apache.commons.math.complex; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Static implementations of common diff --git a/src/main/java/org/apache/commons/math/distribution/AbstractContinuousDistribution.java b/src/main/java/org/apache/commons/math/distribution/AbstractContinuousDistribution.java index 944997fc8..ef6aa1dab 100644 --- a/src/main/java/org/apache/commons/math/distribution/AbstractContinuousDistribution.java +++ b/src/main/java/org/apache/commons/math/distribution/AbstractContinuousDistribution.java @@ -25,7 +25,7 @@ import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.solvers.BrentSolver; import org.apache.commons.math.analysis.solvers.UnivariateRealSolverUtils; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.random.RandomDataImpl; /** diff --git a/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java b/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java index de7fe4844..8c22e4f63 100644 --- a/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java +++ b/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java @@ -20,7 +20,7 @@ import java.io.Serializable; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Base class for probability distributions. diff --git a/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java b/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java index 230a121fb..0fd0e85e9 100644 --- a/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java +++ b/src/main/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java @@ -21,7 +21,7 @@ import java.io.Serializable; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.random.RandomDataImpl; diff --git a/src/main/java/org/apache/commons/math/distribution/BetaDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/BetaDistributionImpl.java index 1d1373dcc..1af99b5a6 100644 --- a/src/main/java/org/apache/commons/math/distribution/BetaDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/BetaDistributionImpl.java @@ -18,7 +18,7 @@ package org.apache.commons.math.distribution; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.special.Gamma; import org.apache.commons.math.special.Beta; diff --git a/src/main/java/org/apache/commons/math/distribution/BinomialDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/BinomialDistributionImpl.java index 700c6feb8..6de652dc3 100644 --- a/src/main/java/org/apache/commons/math/distribution/BinomialDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/BinomialDistributionImpl.java @@ -20,7 +20,7 @@ import java.io.Serializable; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.special.Beta; /** diff --git a/src/main/java/org/apache/commons/math/distribution/CauchyDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/CauchyDistributionImpl.java index 342b3af5d..f451bbc8a 100644 --- a/src/main/java/org/apache/commons/math/distribution/CauchyDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/CauchyDistributionImpl.java @@ -20,7 +20,7 @@ package org.apache.commons.math.distribution; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Default implementation of diff --git a/src/main/java/org/apache/commons/math/distribution/ExponentialDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/ExponentialDistributionImpl.java index ff1882d0c..486e8b982 100644 --- a/src/main/java/org/apache/commons/math/distribution/ExponentialDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/ExponentialDistributionImpl.java @@ -20,7 +20,7 @@ import java.io.Serializable; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * The default implementation of {@link ExponentialDistribution}. diff --git a/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java index 0b87d110e..3280d3fb0 100644 --- a/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java @@ -20,7 +20,7 @@ import java.io.Serializable; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.special.Beta; /** diff --git a/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java index 38607e051..186821a83 100644 --- a/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java @@ -20,7 +20,7 @@ import java.io.Serializable; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.special.Gamma; /** diff --git a/src/main/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java index 4eb3c749e..eb6817c41 100644 --- a/src/main/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java @@ -20,7 +20,7 @@ package org.apache.commons.math.distribution; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.util.MathUtils; /** diff --git a/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java index db3636e59..6f5bd3faf 100644 --- a/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java @@ -22,7 +22,7 @@ import java.io.Serializable; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MaxIterationsExceededException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.special.Erf; /** diff --git a/src/main/java/org/apache/commons/math/distribution/PascalDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/PascalDistributionImpl.java index 0038baa28..bb619d4b1 100644 --- a/src/main/java/org/apache/commons/math/distribution/PascalDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/PascalDistributionImpl.java @@ -20,7 +20,7 @@ import java.io.Serializable; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.special.Beta; import org.apache.commons.math.util.MathUtils; diff --git a/src/main/java/org/apache/commons/math/distribution/PoissonDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/PoissonDistributionImpl.java index 7c4300dca..9110adc92 100644 --- a/src/main/java/org/apache/commons/math/distribution/PoissonDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/PoissonDistributionImpl.java @@ -20,7 +20,7 @@ import java.io.Serializable; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.special.Gamma; import org.apache.commons.math.util.MathUtils; diff --git a/src/main/java/org/apache/commons/math/distribution/TDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/TDistributionImpl.java index 239597d84..a0b03b944 100644 --- a/src/main/java/org/apache/commons/math/distribution/TDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/TDistributionImpl.java @@ -20,7 +20,7 @@ import java.io.Serializable; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.special.Beta; import org.apache.commons.math.special.Gamma; diff --git a/src/main/java/org/apache/commons/math/distribution/WeibullDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/WeibullDistributionImpl.java index d483c6cf1..b84918656 100644 --- a/src/main/java/org/apache/commons/math/distribution/WeibullDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/WeibullDistributionImpl.java @@ -20,7 +20,7 @@ package org.apache.commons.math.distribution; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Default implementation of diff --git a/src/main/java/org/apache/commons/math/distribution/ZipfDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/ZipfDistributionImpl.java index db78748cb..2f2303860 100644 --- a/src/main/java/org/apache/commons/math/distribution/ZipfDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/ZipfDistributionImpl.java @@ -20,7 +20,7 @@ package org.apache.commons.math.distribution; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implementation for the {@link ZipfDistribution}. diff --git a/src/main/java/org/apache/commons/math/estimation/AbstractEstimator.java b/src/main/java/org/apache/commons/math/estimation/AbstractEstimator.java index 167b5deee..9f9b479ab 100644 --- a/src/main/java/org/apache/commons/math/estimation/AbstractEstimator.java +++ b/src/main/java/org/apache/commons/math/estimation/AbstractEstimator.java @@ -19,7 +19,7 @@ package org.apache.commons.math.estimation; import java.util.Arrays; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.linear.InvalidMatrixException; import org.apache.commons.math.linear.LUDecompositionImpl; import org.apache.commons.math.linear.MatrixUtils; diff --git a/src/main/java/org/apache/commons/math/estimation/EstimationException.java b/src/main/java/org/apache/commons/math/estimation/EstimationException.java index 0ee1e6825..bb9f148e6 100644 --- a/src/main/java/org/apache/commons/math/estimation/EstimationException.java +++ b/src/main/java/org/apache/commons/math/estimation/EstimationException.java @@ -18,8 +18,8 @@ package org.apache.commons.math.estimation; import org.apache.commons.math.MathException; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; /** * This class represents exceptions thrown by the estimation solvers. diff --git a/src/main/java/org/apache/commons/math/estimation/GaussNewtonEstimator.java b/src/main/java/org/apache/commons/math/estimation/GaussNewtonEstimator.java index 3e3ca31f3..eae214f71 100644 --- a/src/main/java/org/apache/commons/math/estimation/GaussNewtonEstimator.java +++ b/src/main/java/org/apache/commons/math/estimation/GaussNewtonEstimator.java @@ -19,7 +19,7 @@ package org.apache.commons.math.estimation; import java.io.Serializable; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.linear.InvalidMatrixException; import org.apache.commons.math.linear.LUDecompositionImpl; import org.apache.commons.math.linear.MatrixUtils; diff --git a/src/main/java/org/apache/commons/math/estimation/LevenbergMarquardtEstimator.java b/src/main/java/org/apache/commons/math/estimation/LevenbergMarquardtEstimator.java index 1e747f693..4318d93a2 100644 --- a/src/main/java/org/apache/commons/math/estimation/LevenbergMarquardtEstimator.java +++ b/src/main/java/org/apache/commons/math/estimation/LevenbergMarquardtEstimator.java @@ -19,7 +19,7 @@ package org.apache.commons.math.estimation; import java.io.Serializable; import java.util.Arrays; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** diff --git a/src/main/java/org/apache/commons/math/exception/DimensionMismatchException.java b/src/main/java/org/apache/commons/math/exception/DimensionMismatchException.java index 70933b1ac..d6a522d45 100644 --- a/src/main/java/org/apache/commons/math/exception/DimensionMismatchException.java +++ b/src/main/java/org/apache/commons/math/exception/DimensionMismatchException.java @@ -16,6 +16,7 @@ */ package org.apache.commons.math.exception; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Exception to be thrown when two dimensions differ. diff --git a/src/main/java/org/apache/commons/math/exception/MathIllegalArgumentException.java b/src/main/java/org/apache/commons/math/exception/MathIllegalArgumentException.java index f7a7250ec..7e8586f41 100644 --- a/src/main/java/org/apache/commons/math/exception/MathIllegalArgumentException.java +++ b/src/main/java/org/apache/commons/math/exception/MathIllegalArgumentException.java @@ -20,6 +20,7 @@ import java.util.Locale; import org.apache.commons.math.exception.util.ArgUtils; import org.apache.commons.math.exception.util.MessageFactory; +import org.apache.commons.math.exception.util.Localizable; /** * Base class for all preconditions violation exceptions. diff --git a/src/main/java/org/apache/commons/math/exception/MathIllegalNumberException.java b/src/main/java/org/apache/commons/math/exception/MathIllegalNumberException.java index 5382630d8..b96ce20cb 100644 --- a/src/main/java/org/apache/commons/math/exception/MathIllegalNumberException.java +++ b/src/main/java/org/apache/commons/math/exception/MathIllegalNumberException.java @@ -16,6 +16,7 @@ */ package org.apache.commons.math.exception; +import org.apache.commons.math.exception.util.Localizable; /** * Base class for exceptions raised by a wrong number. diff --git a/src/main/java/org/apache/commons/math/exception/MathUnsupportedOperationException.java b/src/main/java/org/apache/commons/math/exception/MathUnsupportedOperationException.java index 876af8620..521031d53 100644 --- a/src/main/java/org/apache/commons/math/exception/MathUnsupportedOperationException.java +++ b/src/main/java/org/apache/commons/math/exception/MathUnsupportedOperationException.java @@ -20,7 +20,8 @@ import java.util.Locale; import org.apache.commons.math.exception.util.ArgUtils; import org.apache.commons.math.exception.util.MessageFactory; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Base class for all unsupported features. diff --git a/src/main/java/org/apache/commons/math/exception/NoDataException.java b/src/main/java/org/apache/commons/math/exception/NoDataException.java index 2b14824ca..f87de1c2c 100644 --- a/src/main/java/org/apache/commons/math/exception/NoDataException.java +++ b/src/main/java/org/apache/commons/math/exception/NoDataException.java @@ -16,6 +16,8 @@ */ package org.apache.commons.math.exception; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Exception to be thrown when the required data is missing. diff --git a/src/main/java/org/apache/commons/math/exception/NonMonotonousSequenceException.java b/src/main/java/org/apache/commons/math/exception/NonMonotonousSequenceException.java index d6ae92c78..3ad11ecfb 100644 --- a/src/main/java/org/apache/commons/math/exception/NonMonotonousSequenceException.java +++ b/src/main/java/org/apache/commons/math/exception/NonMonotonousSequenceException.java @@ -17,6 +17,7 @@ package org.apache.commons.math.exception; import org.apache.commons.math.util.MathUtils; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Exception to be thrown when the a sequence of values is not monotonously diff --git a/src/main/java/org/apache/commons/math/exception/NotPositiveException.java b/src/main/java/org/apache/commons/math/exception/NotPositiveException.java index 55b56e844..4af597aca 100644 --- a/src/main/java/org/apache/commons/math/exception/NotPositiveException.java +++ b/src/main/java/org/apache/commons/math/exception/NotPositiveException.java @@ -16,6 +16,7 @@ */ package org.apache.commons.math.exception; +import org.apache.commons.math.exception.util.Localizable; /** * Exception to be thrown when the argument is negative. diff --git a/src/main/java/org/apache/commons/math/exception/NotStrictlyPositiveException.java b/src/main/java/org/apache/commons/math/exception/NotStrictlyPositiveException.java index 70a654205..4b96b1d12 100644 --- a/src/main/java/org/apache/commons/math/exception/NotStrictlyPositiveException.java +++ b/src/main/java/org/apache/commons/math/exception/NotStrictlyPositiveException.java @@ -16,6 +16,7 @@ */ package org.apache.commons.math.exception; +import org.apache.commons.math.exception.util.Localizable; /** * Exception to be thrown when the argument is negative. diff --git a/src/main/java/org/apache/commons/math/exception/NullArgumentException.java b/src/main/java/org/apache/commons/math/exception/NullArgumentException.java index 80d6d9e1d..e06d25fe5 100644 --- a/src/main/java/org/apache/commons/math/exception/NullArgumentException.java +++ b/src/main/java/org/apache/commons/math/exception/NullArgumentException.java @@ -16,6 +16,9 @@ */ package org.apache.commons.math.exception; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; + /** * All conditions checks that fail due to a {@code null} argument must throw * this exception. diff --git a/src/main/java/org/apache/commons/math/exception/NumberIsTooLargeException.java b/src/main/java/org/apache/commons/math/exception/NumberIsTooLargeException.java index 9c66dc117..9e1559bc3 100644 --- a/src/main/java/org/apache/commons/math/exception/NumberIsTooLargeException.java +++ b/src/main/java/org/apache/commons/math/exception/NumberIsTooLargeException.java @@ -16,6 +16,8 @@ */ package org.apache.commons.math.exception; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Exception to be thrown when a number is too large. diff --git a/src/main/java/org/apache/commons/math/exception/NumberIsTooSmallException.java b/src/main/java/org/apache/commons/math/exception/NumberIsTooSmallException.java index a846ff4dd..349ffd1a9 100644 --- a/src/main/java/org/apache/commons/math/exception/NumberIsTooSmallException.java +++ b/src/main/java/org/apache/commons/math/exception/NumberIsTooSmallException.java @@ -16,6 +16,8 @@ */ package org.apache.commons.math.exception; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Exception to be thrown when a number is too small. diff --git a/src/main/java/org/apache/commons/math/exception/OutOfRangeException.java b/src/main/java/org/apache/commons/math/exception/OutOfRangeException.java index eecfc6602..268fcb50c 100644 --- a/src/main/java/org/apache/commons/math/exception/OutOfRangeException.java +++ b/src/main/java/org/apache/commons/math/exception/OutOfRangeException.java @@ -16,6 +16,7 @@ */ package org.apache.commons.math.exception; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Exception to be thrown when some argument is out of range. diff --git a/src/main/java/org/apache/commons/math/exception/ZeroException.java b/src/main/java/org/apache/commons/math/exception/ZeroException.java index d1dc01385..253e52a07 100644 --- a/src/main/java/org/apache/commons/math/exception/ZeroException.java +++ b/src/main/java/org/apache/commons/math/exception/ZeroException.java @@ -16,6 +16,8 @@ */ package org.apache.commons.math.exception; +import org.apache.commons.math.exception.util.Localizable; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Exception to be thrown when zero is provided where it is not allowed. diff --git a/src/main/java/org/apache/commons/math/exception/DummyLocalizable.java b/src/main/java/org/apache/commons/math/exception/util/DummyLocalizable.java similarity index 97% rename from src/main/java/org/apache/commons/math/exception/DummyLocalizable.java rename to src/main/java/org/apache/commons/math/exception/util/DummyLocalizable.java index b51e9d4ac..3e8a06d37 100644 --- a/src/main/java/org/apache/commons/math/exception/DummyLocalizable.java +++ b/src/main/java/org/apache/commons/math/exception/util/DummyLocalizable.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math.exception; +package org.apache.commons.math.exception.util; import java.util.Locale; diff --git a/src/main/java/org/apache/commons/math/exception/Localizable.java b/src/main/java/org/apache/commons/math/exception/util/Localizable.java similarity index 96% rename from src/main/java/org/apache/commons/math/exception/Localizable.java rename to src/main/java/org/apache/commons/math/exception/util/Localizable.java index 8d754fa27..1e4b6ae2b 100644 --- a/src/main/java/org/apache/commons/math/exception/Localizable.java +++ b/src/main/java/org/apache/commons/math/exception/util/Localizable.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math.exception; +package org.apache.commons.math.exception.util; import java.io.Serializable; import java.util.Locale; diff --git a/src/main/java/org/apache/commons/math/exception/LocalizedFormats.java b/src/main/java/org/apache/commons/math/exception/util/LocalizedFormats.java similarity index 99% rename from src/main/java/org/apache/commons/math/exception/LocalizedFormats.java rename to src/main/java/org/apache/commons/math/exception/util/LocalizedFormats.java index 03fc6f896..f31f97b6e 100644 --- a/src/main/java/org/apache/commons/math/exception/LocalizedFormats.java +++ b/src/main/java/org/apache/commons/math/exception/util/LocalizedFormats.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math.exception; +package org.apache.commons.math.exception.util; import java.util.Locale; import java.util.MissingResourceException; diff --git a/src/main/java/org/apache/commons/math/exception/util/MessageFactory.java b/src/main/java/org/apache/commons/math/exception/util/MessageFactory.java index fd05419a8..75e864f42 100644 --- a/src/main/java/org/apache/commons/math/exception/util/MessageFactory.java +++ b/src/main/java/org/apache/commons/math/exception/util/MessageFactory.java @@ -19,8 +19,6 @@ package org.apache.commons.math.exception.util; import java.text.MessageFormat; import java.util.Locale; -import org.apache.commons.math.exception.Localizable; - /** * Class for constructing localized messages. * diff --git a/src/main/java/org/apache/commons/math/fraction/AbstractFormat.java b/src/main/java/org/apache/commons/math/fraction/AbstractFormat.java index 5390c3bda..9dbd12420 100644 --- a/src/main/java/org/apache/commons/math/fraction/AbstractFormat.java +++ b/src/main/java/org/apache/commons/math/fraction/AbstractFormat.java @@ -24,7 +24,7 @@ import java.text.ParsePosition; import java.util.Locale; import org.apache.commons.math.exception.NullArgumentException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Common part shared by both {@link FractionFormat} and {@link BigFractionFormat}. diff --git a/src/main/java/org/apache/commons/math/fraction/BigFraction.java b/src/main/java/org/apache/commons/math/fraction/BigFraction.java index 76042ac63..b5988928d 100644 --- a/src/main/java/org/apache/commons/math/fraction/BigFraction.java +++ b/src/main/java/org/apache/commons/math/fraction/BigFraction.java @@ -22,7 +22,7 @@ import java.math.BigInteger; import org.apache.commons.math.FieldElement; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NullArgumentException; import org.apache.commons.math.util.MathUtils; diff --git a/src/main/java/org/apache/commons/math/fraction/BigFractionFormat.java b/src/main/java/org/apache/commons/math/fraction/BigFractionFormat.java index a17f52e16..7d114190a 100644 --- a/src/main/java/org/apache/commons/math/fraction/BigFractionFormat.java +++ b/src/main/java/org/apache/commons/math/fraction/BigFractionFormat.java @@ -26,7 +26,7 @@ import java.text.ParsePosition; import java.util.Locale; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Formats a BigFraction number in proper format or improper format. diff --git a/src/main/java/org/apache/commons/math/fraction/Fraction.java b/src/main/java/org/apache/commons/math/fraction/Fraction.java index 0052c27b1..a0c3f8906 100644 --- a/src/main/java/org/apache/commons/math/fraction/Fraction.java +++ b/src/main/java/org/apache/commons/math/fraction/Fraction.java @@ -21,7 +21,7 @@ import java.math.BigInteger; import org.apache.commons.math.FieldElement; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NullArgumentException; import org.apache.commons.math.util.MathUtils; diff --git a/src/main/java/org/apache/commons/math/fraction/FractionConversionException.java b/src/main/java/org/apache/commons/math/fraction/FractionConversionException.java index 1d89a66ec..1f1bf27e6 100644 --- a/src/main/java/org/apache/commons/math/fraction/FractionConversionException.java +++ b/src/main/java/org/apache/commons/math/fraction/FractionConversionException.java @@ -18,7 +18,7 @@ package org.apache.commons.math.fraction; import org.apache.commons.math.ConvergenceException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Error thrown when a double value cannot be converted to a fraction diff --git a/src/main/java/org/apache/commons/math/fraction/FractionFormat.java b/src/main/java/org/apache/commons/math/fraction/FractionFormat.java index 52f0a4f94..5554fd30f 100644 --- a/src/main/java/org/apache/commons/math/fraction/FractionFormat.java +++ b/src/main/java/org/apache/commons/math/fraction/FractionFormat.java @@ -25,7 +25,7 @@ import java.util.Locale; import org.apache.commons.math.ConvergenceException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Formats a Fraction number in proper format or improper format. The number diff --git a/src/main/java/org/apache/commons/math/fraction/ProperBigFractionFormat.java b/src/main/java/org/apache/commons/math/fraction/ProperBigFractionFormat.java index bd12a5a22..552ad9857 100644 --- a/src/main/java/org/apache/commons/math/fraction/ProperBigFractionFormat.java +++ b/src/main/java/org/apache/commons/math/fraction/ProperBigFractionFormat.java @@ -21,7 +21,7 @@ import java.text.FieldPosition; import java.text.NumberFormat; import java.text.ParsePosition; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NullArgumentException; /** diff --git a/src/main/java/org/apache/commons/math/fraction/ProperFractionFormat.java b/src/main/java/org/apache/commons/math/fraction/ProperFractionFormat.java index a8dd6df21..d36c0cd05 100644 --- a/src/main/java/org/apache/commons/math/fraction/ProperFractionFormat.java +++ b/src/main/java/org/apache/commons/math/fraction/ProperFractionFormat.java @@ -20,7 +20,7 @@ import java.text.FieldPosition; import java.text.NumberFormat; import java.text.ParsePosition; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NullArgumentException; import org.apache.commons.math.util.MathUtils; diff --git a/src/main/java/org/apache/commons/math/genetics/ListPopulation.java b/src/main/java/org/apache/commons/math/genetics/ListPopulation.java index f2c6d6214..d3cab6e02 100644 --- a/src/main/java/org/apache/commons/math/genetics/ListPopulation.java +++ b/src/main/java/org/apache/commons/math/genetics/ListPopulation.java @@ -20,7 +20,7 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NotPositiveException; import org.apache.commons.math.exception.NumberIsTooLargeException; diff --git a/src/main/java/org/apache/commons/math/genetics/RandomKeyMutation.java b/src/main/java/org/apache/commons/math/genetics/RandomKeyMutation.java index 8d7ddf8e4..5435b5fbf 100644 --- a/src/main/java/org/apache/commons/math/genetics/RandomKeyMutation.java +++ b/src/main/java/org/apache/commons/math/genetics/RandomKeyMutation.java @@ -20,7 +20,7 @@ import java.util.ArrayList; import java.util.List; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Mutation operator for {@link RandomKey}s. Changes a randomly chosen element diff --git a/src/main/java/org/apache/commons/math/geometry/CardanEulerSingularityException.java b/src/main/java/org/apache/commons/math/geometry/CardanEulerSingularityException.java index 43bdcce94..1125687ac 100644 --- a/src/main/java/org/apache/commons/math/geometry/CardanEulerSingularityException.java +++ b/src/main/java/org/apache/commons/math/geometry/CardanEulerSingularityException.java @@ -18,7 +18,7 @@ package org.apache.commons.math.geometry; import org.apache.commons.math.MathException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** This class represents exceptions thrown while extractiong Cardan * or Euler angles from a rotation. diff --git a/src/main/java/org/apache/commons/math/geometry/NotARotationMatrixException.java b/src/main/java/org/apache/commons/math/geometry/NotARotationMatrixException.java index 6ec5ac4a3..9ef9cb37a 100644 --- a/src/main/java/org/apache/commons/math/geometry/NotARotationMatrixException.java +++ b/src/main/java/org/apache/commons/math/geometry/NotARotationMatrixException.java @@ -18,7 +18,7 @@ package org.apache.commons.math.geometry; import org.apache.commons.math.MathException; -import org.apache.commons.math.exception.Localizable; +import org.apache.commons.math.exception.util.Localizable; /** * This class represents exceptions thrown while building rotations diff --git a/src/main/java/org/apache/commons/math/geometry/Rotation.java b/src/main/java/org/apache/commons/math/geometry/Rotation.java index 7cf362a88..4163ade8d 100644 --- a/src/main/java/org/apache/commons/math/geometry/Rotation.java +++ b/src/main/java/org/apache/commons/math/geometry/Rotation.java @@ -20,7 +20,7 @@ package org.apache.commons.math.geometry; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * This class implements rotations in a three-dimensional space. diff --git a/src/main/java/org/apache/commons/math/geometry/Vector3D.java b/src/main/java/org/apache/commons/math/geometry/Vector3D.java index b8ea63342..d0cfd5aed 100644 --- a/src/main/java/org/apache/commons/math/geometry/Vector3D.java +++ b/src/main/java/org/apache/commons/math/geometry/Vector3D.java @@ -20,7 +20,7 @@ package org.apache.commons.math.geometry; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.util.MathUtils; /** diff --git a/src/main/java/org/apache/commons/math/geometry/Vector3DFormat.java b/src/main/java/org/apache/commons/math/geometry/Vector3DFormat.java index 4426c7c9c..f14b3a788 100644 --- a/src/main/java/org/apache/commons/math/geometry/Vector3DFormat.java +++ b/src/main/java/org/apache/commons/math/geometry/Vector3DFormat.java @@ -24,7 +24,7 @@ import java.text.ParsePosition; import java.util.Locale; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.util.CompositeFormat; /** diff --git a/src/main/java/org/apache/commons/math/linear/AbstractFieldMatrix.java b/src/main/java/org/apache/commons/math/linear/AbstractFieldMatrix.java index 6f4bc7ca8..eff3f4d46 100644 --- a/src/main/java/org/apache/commons/math/linear/AbstractFieldMatrix.java +++ b/src/main/java/org/apache/commons/math/linear/AbstractFieldMatrix.java @@ -23,7 +23,7 @@ import java.util.Arrays; import org.apache.commons.math.Field; import org.apache.commons.math.FieldElement; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Basic implementation of {@link FieldMatrix} methods regardless of the underlying storage. diff --git a/src/main/java/org/apache/commons/math/linear/AbstractRealMatrix.java b/src/main/java/org/apache/commons/math/linear/AbstractRealMatrix.java index 87c09e59e..5781d49fc 100644 --- a/src/main/java/org/apache/commons/math/linear/AbstractRealMatrix.java +++ b/src/main/java/org/apache/commons/math/linear/AbstractRealMatrix.java @@ -18,7 +18,7 @@ package org.apache.commons.math.linear; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.util.MathUtils; /** diff --git a/src/main/java/org/apache/commons/math/linear/AbstractRealVector.java b/src/main/java/org/apache/commons/math/linear/AbstractRealVector.java index f2cd89bc6..9185d26da 100644 --- a/src/main/java/org/apache/commons/math/linear/AbstractRealVector.java +++ b/src/main/java/org/apache/commons/math/linear/AbstractRealVector.java @@ -26,7 +26,7 @@ import org.apache.commons.math.exception.DimensionMismatchException; import org.apache.commons.math.analysis.BinaryFunction; import org.apache.commons.math.analysis.ComposableFunction; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * This class provides default basic implementations for many methods in the diff --git a/src/main/java/org/apache/commons/math/linear/Array2DRowFieldMatrix.java b/src/main/java/org/apache/commons/math/linear/Array2DRowFieldMatrix.java index a7571af16..641da9a8d 100644 --- a/src/main/java/org/apache/commons/math/linear/Array2DRowFieldMatrix.java +++ b/src/main/java/org/apache/commons/math/linear/Array2DRowFieldMatrix.java @@ -22,7 +22,7 @@ import java.io.Serializable; import org.apache.commons.math.Field; import org.apache.commons.math.FieldElement; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implementation of FieldMatrix using a {@link FieldElement}[][] array to store entries. diff --git a/src/main/java/org/apache/commons/math/linear/Array2DRowRealMatrix.java b/src/main/java/org/apache/commons/math/linear/Array2DRowRealMatrix.java index 3c5dc16e8..4ce49e84f 100644 --- a/src/main/java/org/apache/commons/math/linear/Array2DRowRealMatrix.java +++ b/src/main/java/org/apache/commons/math/linear/Array2DRowRealMatrix.java @@ -20,7 +20,7 @@ package org.apache.commons.math.linear; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implementation of RealMatrix using a double[][] array to store entries and diff --git a/src/main/java/org/apache/commons/math/linear/ArrayFieldVector.java b/src/main/java/org/apache/commons/math/linear/ArrayFieldVector.java index ea638c6d1..9e6ff1083 100644 --- a/src/main/java/org/apache/commons/math/linear/ArrayFieldVector.java +++ b/src/main/java/org/apache/commons/math/linear/ArrayFieldVector.java @@ -23,7 +23,7 @@ import java.util.Arrays; import org.apache.commons.math.Field; import org.apache.commons.math.FieldElement; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * This class implements the {@link FieldVector} interface with a {@link FieldElement} array. diff --git a/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java b/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java index 23356e40b..cce97675a 100644 --- a/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java +++ b/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java @@ -21,7 +21,7 @@ import java.util.Arrays; import java.util.Iterator; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.util.MathUtils; /** diff --git a/src/main/java/org/apache/commons/math/linear/BigMatrixImpl.java b/src/main/java/org/apache/commons/math/linear/BigMatrixImpl.java index b303acddd..6124d2a2f 100644 --- a/src/main/java/org/apache/commons/math/linear/BigMatrixImpl.java +++ b/src/main/java/org/apache/commons/math/linear/BigMatrixImpl.java @@ -20,7 +20,7 @@ import java.io.Serializable; import java.math.BigDecimal; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implementation of {@link BigMatrix} using a BigDecimal[][] array to store entries diff --git a/src/main/java/org/apache/commons/math/linear/BlockFieldMatrix.java b/src/main/java/org/apache/commons/math/linear/BlockFieldMatrix.java index 7467acd54..63d52c686 100644 --- a/src/main/java/org/apache/commons/math/linear/BlockFieldMatrix.java +++ b/src/main/java/org/apache/commons/math/linear/BlockFieldMatrix.java @@ -22,7 +22,7 @@ import java.io.Serializable; import org.apache.commons.math.Field; import org.apache.commons.math.FieldElement; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Cache-friendly implementation of FieldMatrix using a flat arrays to store diff --git a/src/main/java/org/apache/commons/math/linear/BlockRealMatrix.java b/src/main/java/org/apache/commons/math/linear/BlockRealMatrix.java index e7601f657..b2de24951 100644 --- a/src/main/java/org/apache/commons/math/linear/BlockRealMatrix.java +++ b/src/main/java/org/apache/commons/math/linear/BlockRealMatrix.java @@ -21,7 +21,7 @@ import java.io.Serializable; import java.util.Arrays; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Cache-friendly implementation of RealMatrix using a flat arrays to store diff --git a/src/main/java/org/apache/commons/math/linear/CholeskyDecompositionImpl.java b/src/main/java/org/apache/commons/math/linear/CholeskyDecompositionImpl.java index 982115d24..8af8726b2 100644 --- a/src/main/java/org/apache/commons/math/linear/CholeskyDecompositionImpl.java +++ b/src/main/java/org/apache/commons/math/linear/CholeskyDecompositionImpl.java @@ -18,7 +18,7 @@ package org.apache.commons.math.linear; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** diff --git a/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java b/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java index 468dca712..dfe40c90c 100644 --- a/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java +++ b/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java @@ -19,7 +19,7 @@ package org.apache.commons.math.linear; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MaxIterationsExceededException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.util.MathUtils; /** diff --git a/src/main/java/org/apache/commons/math/linear/FieldLUDecompositionImpl.java b/src/main/java/org/apache/commons/math/linear/FieldLUDecompositionImpl.java index 3c21354d5..9c4bc915a 100644 --- a/src/main/java/org/apache/commons/math/linear/FieldLUDecompositionImpl.java +++ b/src/main/java/org/apache/commons/math/linear/FieldLUDecompositionImpl.java @@ -22,7 +22,7 @@ import java.lang.reflect.Array; import org.apache.commons.math.Field; import org.apache.commons.math.FieldElement; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Calculates the LUP-decomposition of a square matrix. diff --git a/src/main/java/org/apache/commons/math/linear/InvalidMatrixException.java b/src/main/java/org/apache/commons/math/linear/InvalidMatrixException.java index 683a5e9c9..525a13c67 100644 --- a/src/main/java/org/apache/commons/math/linear/InvalidMatrixException.java +++ b/src/main/java/org/apache/commons/math/linear/InvalidMatrixException.java @@ -18,8 +18,8 @@ package org.apache.commons.math.linear; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; /** * Thrown when a system attempts an operation on a matrix, and diff --git a/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java b/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java index afff790cb..f9276830e 100644 --- a/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java +++ b/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java @@ -18,7 +18,7 @@ package org.apache.commons.math.linear; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Calculates the LUP-decomposition of a square matrix. diff --git a/src/main/java/org/apache/commons/math/linear/MatrixIndexException.java b/src/main/java/org/apache/commons/math/linear/MatrixIndexException.java index c70c3739f..1fca8d816 100644 --- a/src/main/java/org/apache/commons/math/linear/MatrixIndexException.java +++ b/src/main/java/org/apache/commons/math/linear/MatrixIndexException.java @@ -18,8 +18,8 @@ package org.apache.commons.math.linear; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; /** * Thrown when an operation addresses a matrix coordinate (row, col) diff --git a/src/main/java/org/apache/commons/math/linear/MatrixUtils.java b/src/main/java/org/apache/commons/math/linear/MatrixUtils.java index bd3424e40..7cf746636 100644 --- a/src/main/java/org/apache/commons/math/linear/MatrixUtils.java +++ b/src/main/java/org/apache/commons/math/linear/MatrixUtils.java @@ -27,7 +27,7 @@ import java.util.Arrays; import org.apache.commons.math.Field; import org.apache.commons.math.FieldElement; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.fraction.BigFraction; import org.apache.commons.math.fraction.Fraction; diff --git a/src/main/java/org/apache/commons/math/linear/MatrixVisitorException.java b/src/main/java/org/apache/commons/math/linear/MatrixVisitorException.java index 4696154ce..6d216b856 100644 --- a/src/main/java/org/apache/commons/math/linear/MatrixVisitorException.java +++ b/src/main/java/org/apache/commons/math/linear/MatrixVisitorException.java @@ -18,7 +18,7 @@ package org.apache.commons.math.linear; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.Localizable; +import org.apache.commons.math.exception.util.Localizable; /** * Thrown when a visitor encounters an error while processing a matrix entry. diff --git a/src/main/java/org/apache/commons/math/linear/NonSquareMatrixException.java b/src/main/java/org/apache/commons/math/linear/NonSquareMatrixException.java index 182967e56..bbe8fc561 100644 --- a/src/main/java/org/apache/commons/math/linear/NonSquareMatrixException.java +++ b/src/main/java/org/apache/commons/math/linear/NonSquareMatrixException.java @@ -17,7 +17,7 @@ package org.apache.commons.math.linear; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** diff --git a/src/main/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java b/src/main/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java index 6b88447c1..fdc2295b4 100644 --- a/src/main/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java +++ b/src/main/java/org/apache/commons/math/linear/NotPositiveDefiniteMatrixException.java @@ -18,7 +18,7 @@ package org.apache.commons.math.linear; import org.apache.commons.math.MathException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * This class represents exceptions thrown when a matrix expected to diff --git a/src/main/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java b/src/main/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java index 741dd159e..ee58383d8 100644 --- a/src/main/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java +++ b/src/main/java/org/apache/commons/math/linear/NotSymmetricMatrixException.java @@ -18,7 +18,7 @@ package org.apache.commons.math.linear; import org.apache.commons.math.MathException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * This class represents exceptions thrown when a matrix expected to diff --git a/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java b/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java index 5416fabdf..c87446f9a 100644 --- a/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java +++ b/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java @@ -19,7 +19,7 @@ package org.apache.commons.math.linear; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.util.OpenIntToDoubleHashMap; import org.apache.commons.math.util.OpenIntToDoubleHashMap.Iterator; diff --git a/src/main/java/org/apache/commons/math/linear/QRDecompositionImpl.java b/src/main/java/org/apache/commons/math/linear/QRDecompositionImpl.java index 32d82f413..b45939b25 100644 --- a/src/main/java/org/apache/commons/math/linear/QRDecompositionImpl.java +++ b/src/main/java/org/apache/commons/math/linear/QRDecompositionImpl.java @@ -20,7 +20,7 @@ package org.apache.commons.math.linear; import java.util.Arrays; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** diff --git a/src/main/java/org/apache/commons/math/linear/RealMatrixImpl.java b/src/main/java/org/apache/commons/math/linear/RealMatrixImpl.java index fa0760898..b6e7108f0 100644 --- a/src/main/java/org/apache/commons/math/linear/RealMatrixImpl.java +++ b/src/main/java/org/apache/commons/math/linear/RealMatrixImpl.java @@ -20,7 +20,7 @@ package org.apache.commons.math.linear; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implementation of RealMatrix using a double[][] array to store entries and diff --git a/src/main/java/org/apache/commons/math/linear/RealVectorFormat.java b/src/main/java/org/apache/commons/math/linear/RealVectorFormat.java index 7a3e980eb..030b8b3b2 100644 --- a/src/main/java/org/apache/commons/math/linear/RealVectorFormat.java +++ b/src/main/java/org/apache/commons/math/linear/RealVectorFormat.java @@ -26,7 +26,7 @@ import java.util.List; import java.util.Locale; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.util.CompositeFormat; /** diff --git a/src/main/java/org/apache/commons/math/linear/SingularMatrixException.java b/src/main/java/org/apache/commons/math/linear/SingularMatrixException.java index a7f6b6b69..b7627e5a5 100644 --- a/src/main/java/org/apache/commons/math/linear/SingularMatrixException.java +++ b/src/main/java/org/apache/commons/math/linear/SingularMatrixException.java @@ -17,7 +17,7 @@ package org.apache.commons.math.linear; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** diff --git a/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java b/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java index 597f6c42f..2576708ea 100644 --- a/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java +++ b/src/main/java/org/apache/commons/math/linear/SingularValueDecompositionImpl.java @@ -18,7 +18,7 @@ package org.apache.commons.math.linear; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Calculates the compact Singular Value Decomposition of a matrix. diff --git a/src/main/java/org/apache/commons/math/linear/SparseFieldVector.java b/src/main/java/org/apache/commons/math/linear/SparseFieldVector.java index 22ca828ad..ee5a98a28 100644 --- a/src/main/java/org/apache/commons/math/linear/SparseFieldVector.java +++ b/src/main/java/org/apache/commons/math/linear/SparseFieldVector.java @@ -22,7 +22,7 @@ import java.lang.reflect.Array; import org.apache.commons.math.Field; import org.apache.commons.math.FieldElement; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.util.OpenIntToFieldHashMap; /** diff --git a/src/main/java/org/apache/commons/math/ode/AbstractIntegrator.java b/src/main/java/org/apache/commons/math/ode/AbstractIntegrator.java index 422d9c0f9..6bf50c4c7 100644 --- a/src/main/java/org/apache/commons/math/ode/AbstractIntegrator.java +++ b/src/main/java/org/apache/commons/math/ode/AbstractIntegrator.java @@ -22,7 +22,7 @@ import java.util.Collection; import java.util.Collections; import org.apache.commons.math.MaxEvaluationsExceededException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.ode.events.CombinedEventsManager; import org.apache.commons.math.ode.events.EventHandler; import org.apache.commons.math.ode.events.EventState; diff --git a/src/main/java/org/apache/commons/math/ode/ContinuousOutputModel.java b/src/main/java/org/apache/commons/math/ode/ContinuousOutputModel.java index 8ce6ea0ee..a02859c63 100644 --- a/src/main/java/org/apache/commons/math/ode/ContinuousOutputModel.java +++ b/src/main/java/org/apache/commons/math/ode/ContinuousOutputModel.java @@ -22,7 +22,7 @@ import java.util.List; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.ode.sampling.StepHandler; import org.apache.commons.math.ode.sampling.StepInterpolator; diff --git a/src/main/java/org/apache/commons/math/ode/DerivativeException.java b/src/main/java/org/apache/commons/math/ode/DerivativeException.java index b233fb40b..80d94a3b2 100644 --- a/src/main/java/org/apache/commons/math/ode/DerivativeException.java +++ b/src/main/java/org/apache/commons/math/ode/DerivativeException.java @@ -18,8 +18,8 @@ package org.apache.commons.math.ode; import org.apache.commons.math.MathException; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; /** * This exception is made available to users to report diff --git a/src/main/java/org/apache/commons/math/ode/IntegratorException.java b/src/main/java/org/apache/commons/math/ode/IntegratorException.java index e489c2b48..d89239b6c 100644 --- a/src/main/java/org/apache/commons/math/ode/IntegratorException.java +++ b/src/main/java/org/apache/commons/math/ode/IntegratorException.java @@ -18,7 +18,7 @@ package org.apache.commons.math.ode; import org.apache.commons.math.MathException; -import org.apache.commons.math.exception.Localizable; +import org.apache.commons.math.exception.util.Localizable; /** * This exception is made available to users to report diff --git a/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java b/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java index 3ab0b7c53..0008c11ca 100644 --- a/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java +++ b/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java @@ -18,7 +18,7 @@ package org.apache.commons.math.ode; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.linear.Array2DRowRealMatrix; import org.apache.commons.math.linear.RealMatrix; import org.apache.commons.math.ode.nonstiff.AdaptiveStepsizeIntegrator; diff --git a/src/main/java/org/apache/commons/math/ode/events/EventException.java b/src/main/java/org/apache/commons/math/ode/events/EventException.java index 4165ee6c7..8175ad1b9 100644 --- a/src/main/java/org/apache/commons/math/ode/events/EventException.java +++ b/src/main/java/org/apache/commons/math/ode/events/EventException.java @@ -18,7 +18,7 @@ package org.apache.commons.math.ode.events; import org.apache.commons.math.MathException; -import org.apache.commons.math.exception.Localizable; +import org.apache.commons.math.exception.util.Localizable; /** * This exception is made available to users to report diff --git a/src/main/java/org/apache/commons/math/ode/jacobians/FirstOrderIntegratorWithJacobians.java b/src/main/java/org/apache/commons/math/ode/jacobians/FirstOrderIntegratorWithJacobians.java index 98bcf15b0..7cc056ed6 100644 --- a/src/main/java/org/apache/commons/math/ode/jacobians/FirstOrderIntegratorWithJacobians.java +++ b/src/main/java/org/apache/commons/math/ode/jacobians/FirstOrderIntegratorWithJacobians.java @@ -26,7 +26,7 @@ import java.util.Collection; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MaxEvaluationsExceededException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.ode.DerivativeException; import org.apache.commons.math.ode.ExtendedFirstOrderDifferentialEquations; import org.apache.commons.math.ode.FirstOrderIntegrator; diff --git a/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java b/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java index 647f3cae3..38cbc61a3 100644 --- a/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java +++ b/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java @@ -17,7 +17,7 @@ package org.apache.commons.math.ode.nonstiff; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.ode.AbstractIntegrator; import org.apache.commons.math.ode.DerivativeException; import org.apache.commons.math.ode.ExtendedFirstOrderDifferentialEquations; diff --git a/src/main/java/org/apache/commons/math/optimization/LeastSquaresConverter.java b/src/main/java/org/apache/commons/math/optimization/LeastSquaresConverter.java index 1dc808e0d..d11a69a4d 100644 --- a/src/main/java/org/apache/commons/math/optimization/LeastSquaresConverter.java +++ b/src/main/java/org/apache/commons/math/optimization/LeastSquaresConverter.java @@ -21,7 +21,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.MultivariateRealFunction; import org.apache.commons.math.analysis.MultivariateVectorialFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.linear.RealMatrix; /** This class converts {@link MultivariateVectorialFunction vectorial diff --git a/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java b/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java index 00fe80e50..f523eecca 100644 --- a/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java +++ b/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java @@ -23,7 +23,7 @@ import java.util.Comparator; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.DifferentiableMultivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.random.RandomVectorGenerator; /** diff --git a/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizer.java b/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizer.java index b1e598e5b..a42e10c73 100644 --- a/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizer.java +++ b/src/main/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizer.java @@ -23,7 +23,7 @@ import java.util.Comparator; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.DifferentiableMultivariateVectorialFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.random.RandomVectorGenerator; /** diff --git a/src/main/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java b/src/main/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java index c594c77b0..6847f55ff 100644 --- a/src/main/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java +++ b/src/main/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java @@ -23,7 +23,7 @@ import java.util.Comparator; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.MultivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.random.RandomVectorGenerator; /** diff --git a/src/main/java/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java b/src/main/java/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java index 067675f95..26ffbca0a 100644 --- a/src/main/java/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java +++ b/src/main/java/org/apache/commons/math/optimization/MultiStartUnivariateRealOptimizer.java @@ -21,7 +21,7 @@ import org.apache.commons.math.ConvergenceException; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.random.RandomGenerator; /** diff --git a/src/main/java/org/apache/commons/math/optimization/OptimizationException.java b/src/main/java/org/apache/commons/math/optimization/OptimizationException.java index ae85c0c7f..f6e47177f 100644 --- a/src/main/java/org/apache/commons/math/optimization/OptimizationException.java +++ b/src/main/java/org/apache/commons/math/optimization/OptimizationException.java @@ -18,8 +18,8 @@ package org.apache.commons.math.optimization; import org.apache.commons.math.ConvergenceException; -import org.apache.commons.math.exception.DummyLocalizable; -import org.apache.commons.math.exception.Localizable; +import org.apache.commons.math.exception.util.DummyLocalizable; +import org.apache.commons.math.exception.util.Localizable; /** * This class represents exceptions thrown by optimizers. diff --git a/src/main/java/org/apache/commons/math/optimization/direct/DirectSearchOptimizer.java b/src/main/java/org/apache/commons/math/optimization/direct/DirectSearchOptimizer.java index 96dfea2a1..8cf6891ca 100644 --- a/src/main/java/org/apache/commons/math/optimization/direct/DirectSearchOptimizer.java +++ b/src/main/java/org/apache/commons/math/optimization/direct/DirectSearchOptimizer.java @@ -25,7 +25,7 @@ import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.MaxEvaluationsExceededException; import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.analysis.MultivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.optimization.GoalType; import org.apache.commons.math.optimization.MultivariateRealOptimizer; import org.apache.commons.math.optimization.OptimizationException; diff --git a/src/main/java/org/apache/commons/math/optimization/fitting/GaussianDerivativeFunction.java b/src/main/java/org/apache/commons/math/optimization/fitting/GaussianDerivativeFunction.java index 10d040cd1..9fcd60c79 100644 --- a/src/main/java/org/apache/commons/math/optimization/fitting/GaussianDerivativeFunction.java +++ b/src/main/java/org/apache/commons/math/optimization/fitting/GaussianDerivativeFunction.java @@ -23,7 +23,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.exception.DimensionMismatchException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.ZeroException; import org.apache.commons.math.exception.NullArgumentException; diff --git a/src/main/java/org/apache/commons/math/optimization/fitting/GaussianFunction.java b/src/main/java/org/apache/commons/math/optimization/fitting/GaussianFunction.java index ab51a10ee..dee4097a3 100644 --- a/src/main/java/org/apache/commons/math/optimization/fitting/GaussianFunction.java +++ b/src/main/java/org/apache/commons/math/optimization/fitting/GaussianFunction.java @@ -24,7 +24,7 @@ import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.DifferentiableUnivariateRealFunction; import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.exception.DimensionMismatchException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.ZeroException; import org.apache.commons.math.exception.NullArgumentException; diff --git a/src/main/java/org/apache/commons/math/optimization/fitting/GaussianParametersGuesser.java b/src/main/java/org/apache/commons/math/optimization/fitting/GaussianParametersGuesser.java index 7f983436a..fefbecbdb 100644 --- a/src/main/java/org/apache/commons/math/optimization/fitting/GaussianParametersGuesser.java +++ b/src/main/java/org/apache/commons/math/optimization/fitting/GaussianParametersGuesser.java @@ -20,7 +20,7 @@ package org.apache.commons.math.optimization.fitting; import java.util.Arrays; import java.util.Comparator; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NumberIsTooSmallException; import org.apache.commons.math.exception.OutOfRangeException; import org.apache.commons.math.exception.ZeroException; diff --git a/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java b/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java index a41c32356..74a036d69 100644 --- a/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java +++ b/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicCoefficientsGuesser.java @@ -17,7 +17,7 @@ package org.apache.commons.math.optimization.fitting; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.optimization.OptimizationException; /** This class guesses harmonic coefficients from a sample. diff --git a/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicFitter.java b/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicFitter.java index 94130f5da..404725260 100644 --- a/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicFitter.java +++ b/src/main/java/org/apache/commons/math/optimization/fitting/HarmonicFitter.java @@ -19,7 +19,7 @@ package org.apache.commons.math.optimization.fitting; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.optimization.DifferentiableMultivariateVectorialOptimizer; import org.apache.commons.math.optimization.OptimizationException; diff --git a/src/main/java/org/apache/commons/math/optimization/fitting/ParametricGaussianFunction.java b/src/main/java/org/apache/commons/math/optimization/fitting/ParametricGaussianFunction.java index 3a28ce57a..ed178395d 100644 --- a/src/main/java/org/apache/commons/math/optimization/fitting/ParametricGaussianFunction.java +++ b/src/main/java/org/apache/commons/math/optimization/fitting/ParametricGaussianFunction.java @@ -21,7 +21,7 @@ import java.io.Serializable; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.exception.DimensionMismatchException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.ZeroException; import org.apache.commons.math.exception.NullArgumentException; import org.apache.commons.math.optimization.fitting.ParametricRealFunction; diff --git a/src/main/java/org/apache/commons/math/optimization/general/AbstractLeastSquaresOptimizer.java b/src/main/java/org/apache/commons/math/optimization/general/AbstractLeastSquaresOptimizer.java index 5a60da853..152c30c3a 100644 --- a/src/main/java/org/apache/commons/math/optimization/general/AbstractLeastSquaresOptimizer.java +++ b/src/main/java/org/apache/commons/math/optimization/general/AbstractLeastSquaresOptimizer.java @@ -22,7 +22,7 @@ import org.apache.commons.math.MaxEvaluationsExceededException; import org.apache.commons.math.MaxIterationsExceededException; import org.apache.commons.math.analysis.DifferentiableMultivariateVectorialFunction; import org.apache.commons.math.analysis.MultivariateMatrixFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.linear.InvalidMatrixException; import org.apache.commons.math.linear.LUDecompositionImpl; import org.apache.commons.math.linear.MatrixUtils; diff --git a/src/main/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizer.java b/src/main/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizer.java index dddca71d7..ee8ef904a 100644 --- a/src/main/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizer.java +++ b/src/main/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizer.java @@ -18,7 +18,7 @@ package org.apache.commons.math.optimization.general; import org.apache.commons.math.FunctionEvaluationException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.linear.BlockRealMatrix; import org.apache.commons.math.linear.DecompositionSolver; import org.apache.commons.math.linear.InvalidMatrixException; diff --git a/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java b/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java index 0c4f39f71..4cf4ee006 100644 --- a/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java +++ b/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java @@ -19,7 +19,7 @@ package org.apache.commons.math.optimization.general; import java.util.Arrays; import org.apache.commons.math.FunctionEvaluationException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.optimization.OptimizationException; import org.apache.commons.math.optimization.VectorialPointValuePair; import org.apache.commons.math.util.MathUtils; diff --git a/src/main/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizer.java b/src/main/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizer.java index 9a461c953..2920bb3ff 100644 --- a/src/main/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizer.java +++ b/src/main/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizer.java @@ -22,7 +22,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.analysis.solvers.BrentSolver; import org.apache.commons.math.analysis.solvers.UnivariateRealSolver; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.optimization.GoalType; import org.apache.commons.math.optimization.OptimizationException; import org.apache.commons.math.optimization.RealPointValuePair; diff --git a/src/main/java/org/apache/commons/math/optimization/linear/NoFeasibleSolutionException.java b/src/main/java/org/apache/commons/math/optimization/linear/NoFeasibleSolutionException.java index 766de2990..59777cd16 100644 --- a/src/main/java/org/apache/commons/math/optimization/linear/NoFeasibleSolutionException.java +++ b/src/main/java/org/apache/commons/math/optimization/linear/NoFeasibleSolutionException.java @@ -17,7 +17,7 @@ package org.apache.commons.math.optimization.linear; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.optimization.OptimizationException; /** diff --git a/src/main/java/org/apache/commons/math/optimization/linear/UnboundedSolutionException.java b/src/main/java/org/apache/commons/math/optimization/linear/UnboundedSolutionException.java index fd3066299..85482cef4 100644 --- a/src/main/java/org/apache/commons/math/optimization/linear/UnboundedSolutionException.java +++ b/src/main/java/org/apache/commons/math/optimization/linear/UnboundedSolutionException.java @@ -17,7 +17,7 @@ package org.apache.commons.math.optimization.linear; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.optimization.OptimizationException; /** diff --git a/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java b/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java index 09a0d2fdc..3eb402e22 100644 --- a/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java @@ -28,7 +28,7 @@ import java.util.ArrayList; import java.util.List; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.stat.descriptive.StatisticalSummary; import org.apache.commons.math.stat.descriptive.SummaryStatistics; diff --git a/src/main/java/org/apache/commons/math/random/RandomDataImpl.java b/src/main/java/org/apache/commons/math/random/RandomDataImpl.java index 15f53895b..60cfee3de 100644 --- a/src/main/java/org/apache/commons/math/random/RandomDataImpl.java +++ b/src/main/java/org/apache/commons/math/random/RandomDataImpl.java @@ -26,7 +26,7 @@ import java.util.Collection; import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NotStrictlyPositiveException; import org.apache.commons.math.exception.NumberIsTooLargeException; import org.apache.commons.math.distribution.BetaDistributionImpl; diff --git a/src/main/java/org/apache/commons/math/random/ValueServer.java b/src/main/java/org/apache/commons/math/random/ValueServer.java index 7c343d753..aab068d09 100644 --- a/src/main/java/org/apache/commons/math/random/ValueServer.java +++ b/src/main/java/org/apache/commons/math/random/ValueServer.java @@ -23,7 +23,7 @@ import java.net.MalformedURLException; import java.net.URL; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Generates values for use in simulation applications. diff --git a/src/main/java/org/apache/commons/math/stat/Frequency.java b/src/main/java/org/apache/commons/math/stat/Frequency.java index 01faf7378..b60b2e919 100644 --- a/src/main/java/org/apache/commons/math/stat/Frequency.java +++ b/src/main/java/org/apache/commons/math/stat/Frequency.java @@ -23,7 +23,7 @@ import java.util.Comparator; import java.util.TreeMap; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Maintains a frequency distribution. diff --git a/src/main/java/org/apache/commons/math/stat/StatUtils.java b/src/main/java/org/apache/commons/math/stat/StatUtils.java index 18812a991..3cd4b6ce3 100644 --- a/src/main/java/org/apache/commons/math/stat/StatUtils.java +++ b/src/main/java/org/apache/commons/math/stat/StatUtils.java @@ -17,7 +17,7 @@ package org.apache.commons.math.stat; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.stat.descriptive.UnivariateStatistic; import org.apache.commons.math.stat.descriptive.moment.GeometricMean; import org.apache.commons.math.stat.descriptive.moment.Mean; diff --git a/src/main/java/org/apache/commons/math/stat/correlation/Covariance.java b/src/main/java/org/apache/commons/math/stat/correlation/Covariance.java index e8d9fc72f..b9a232369 100644 --- a/src/main/java/org/apache/commons/math/stat/correlation/Covariance.java +++ b/src/main/java/org/apache/commons/math/stat/correlation/Covariance.java @@ -17,7 +17,7 @@ package org.apache.commons.math.stat.correlation; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.linear.RealMatrix; import org.apache.commons.math.linear.BlockRealMatrix; import org.apache.commons.math.stat.descriptive.moment.Mean; diff --git a/src/main/java/org/apache/commons/math/stat/correlation/PearsonsCorrelation.java b/src/main/java/org/apache/commons/math/stat/correlation/PearsonsCorrelation.java index 0ac847df9..97330e0f6 100644 --- a/src/main/java/org/apache/commons/math/stat/correlation/PearsonsCorrelation.java +++ b/src/main/java/org/apache/commons/math/stat/correlation/PearsonsCorrelation.java @@ -20,7 +20,7 @@ import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.distribution.TDistribution; import org.apache.commons.math.distribution.TDistributionImpl; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NullArgumentException; import org.apache.commons.math.exception.DimensionMismatchException; import org.apache.commons.math.linear.RealMatrix; diff --git a/src/main/java/org/apache/commons/math/stat/correlation/SpearmansCorrelation.java b/src/main/java/org/apache/commons/math/stat/correlation/SpearmansCorrelation.java index 9d031b470..45e541376 100644 --- a/src/main/java/org/apache/commons/math/stat/correlation/SpearmansCorrelation.java +++ b/src/main/java/org/apache/commons/math/stat/correlation/SpearmansCorrelation.java @@ -18,7 +18,7 @@ package org.apache.commons.math.stat.correlation; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.linear.BlockRealMatrix; import org.apache.commons.math.linear.RealMatrix; import org.apache.commons.math.stat.ranking.NaturalRanking; diff --git a/src/main/java/org/apache/commons/math/stat/descriptive/AbstractStorelessUnivariateStatistic.java b/src/main/java/org/apache/commons/math/stat/descriptive/AbstractStorelessUnivariateStatistic.java index 7dbf30758..19ea90803 100644 --- a/src/main/java/org/apache/commons/math/stat/descriptive/AbstractStorelessUnivariateStatistic.java +++ b/src/main/java/org/apache/commons/math/stat/descriptive/AbstractStorelessUnivariateStatistic.java @@ -16,7 +16,7 @@ */ package org.apache.commons.math.stat.descriptive; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NullArgumentException; import org.apache.commons.math.util.MathUtils; diff --git a/src/main/java/org/apache/commons/math/stat/descriptive/AbstractUnivariateStatistic.java b/src/main/java/org/apache/commons/math/stat/descriptive/AbstractUnivariateStatistic.java index 18c50ef48..ddfaa44ad 100644 --- a/src/main/java/org/apache/commons/math/stat/descriptive/AbstractUnivariateStatistic.java +++ b/src/main/java/org/apache/commons/math/stat/descriptive/AbstractUnivariateStatistic.java @@ -17,7 +17,7 @@ package org.apache.commons.math.stat.descriptive; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.exception.NullArgumentException; import org.apache.commons.math.exception.NotPositiveException; import org.apache.commons.math.exception.DimensionMismatchException; diff --git a/src/main/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java b/src/main/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java index a2a040a39..6f7484dfd 100644 --- a/src/main/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java +++ b/src/main/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java @@ -21,7 +21,7 @@ import java.lang.reflect.InvocationTargetException; import java.util.Arrays; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.stat.descriptive.moment.GeometricMean; import org.apache.commons.math.stat.descriptive.moment.Kurtosis; import org.apache.commons.math.stat.descriptive.moment.Mean; diff --git a/src/main/java/org/apache/commons/math/stat/descriptive/MultivariateSummaryStatistics.java b/src/main/java/org/apache/commons/math/stat/descriptive/MultivariateSummaryStatistics.java index 75466c3bf..27e84d71e 100644 --- a/src/main/java/org/apache/commons/math/stat/descriptive/MultivariateSummaryStatistics.java +++ b/src/main/java/org/apache/commons/math/stat/descriptive/MultivariateSummaryStatistics.java @@ -21,7 +21,7 @@ import java.util.Arrays; import org.apache.commons.math.DimensionMismatchException; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.linear.RealMatrix; import org.apache.commons.math.stat.descriptive.moment.GeometricMean; import org.apache.commons.math.stat.descriptive.moment.Mean; diff --git a/src/main/java/org/apache/commons/math/stat/descriptive/SummaryStatistics.java b/src/main/java/org/apache/commons/math/stat/descriptive/SummaryStatistics.java index 002277b8f..034c64856 100644 --- a/src/main/java/org/apache/commons/math/stat/descriptive/SummaryStatistics.java +++ b/src/main/java/org/apache/commons/math/stat/descriptive/SummaryStatistics.java @@ -19,7 +19,7 @@ package org.apache.commons.math.stat.descriptive; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.stat.descriptive.moment.GeometricMean; import org.apache.commons.math.stat.descriptive.moment.Mean; import org.apache.commons.math.stat.descriptive.moment.SecondMoment; diff --git a/src/main/java/org/apache/commons/math/stat/descriptive/moment/GeometricMean.java b/src/main/java/org/apache/commons/math/stat/descriptive/moment/GeometricMean.java index 8787eddfc..f87d6dfec 100644 --- a/src/main/java/org/apache/commons/math/stat/descriptive/moment/GeometricMean.java +++ b/src/main/java/org/apache/commons/math/stat/descriptive/moment/GeometricMean.java @@ -19,7 +19,7 @@ package org.apache.commons.math.stat.descriptive.moment; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic; import org.apache.commons.math.stat.descriptive.StorelessUnivariateStatistic; import org.apache.commons.math.stat.descriptive.summary.SumOfLogs; diff --git a/src/main/java/org/apache/commons/math/stat/descriptive/moment/Kurtosis.java b/src/main/java/org/apache/commons/math/stat/descriptive/moment/Kurtosis.java index 6a8745cf5..f3b5ad87b 100644 --- a/src/main/java/org/apache/commons/math/stat/descriptive/moment/Kurtosis.java +++ b/src/main/java/org/apache/commons/math/stat/descriptive/moment/Kurtosis.java @@ -19,7 +19,7 @@ package org.apache.commons.math.stat.descriptive.moment; import java.io.Serializable; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic; diff --git a/src/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java b/src/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java index 652b90179..09494aa2b 100644 --- a/src/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java +++ b/src/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java @@ -19,7 +19,7 @@ package org.apache.commons.math.stat.descriptive.moment; import java.io.Serializable; import org.apache.commons.math.exception.NullArgumentException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.stat.descriptive.AbstractUnivariateStatistic; /** diff --git a/src/main/java/org/apache/commons/math/stat/descriptive/moment/Variance.java b/src/main/java/org/apache/commons/math/stat/descriptive/moment/Variance.java index 1bb3f7544..146623891 100644 --- a/src/main/java/org/apache/commons/math/stat/descriptive/moment/Variance.java +++ b/src/main/java/org/apache/commons/math/stat/descriptive/moment/Variance.java @@ -19,7 +19,7 @@ package org.apache.commons.math.stat.descriptive.moment; import java.io.Serializable; import org.apache.commons.math.exception.NullArgumentException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.stat.descriptive.WeightedEvaluation; import org.apache.commons.math.stat.descriptive.AbstractStorelessUnivariateStatistic; diff --git a/src/main/java/org/apache/commons/math/stat/descriptive/rank/Percentile.java b/src/main/java/org/apache/commons/math/stat/descriptive/rank/Percentile.java index 845141d4d..bd791c119 100644 --- a/src/main/java/org/apache/commons/math/stat/descriptive/rank/Percentile.java +++ b/src/main/java/org/apache/commons/math/stat/descriptive/rank/Percentile.java @@ -20,7 +20,7 @@ import java.io.Serializable; import java.util.Arrays; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.stat.descriptive.AbstractUnivariateStatistic; /** diff --git a/src/main/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java b/src/main/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java index 249f2ccfd..81f7c91c8 100644 --- a/src/main/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java +++ b/src/main/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java @@ -20,7 +20,7 @@ import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.distribution.ChiSquaredDistribution; import org.apache.commons.math.distribution.ChiSquaredDistributionImpl; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements Chi-Square test statistics defined in the diff --git a/src/main/java/org/apache/commons/math/stat/inference/OneWayAnovaImpl.java b/src/main/java/org/apache/commons/math/stat/inference/OneWayAnovaImpl.java index 41c02cf7f..760748966 100644 --- a/src/main/java/org/apache/commons/math/stat/inference/OneWayAnovaImpl.java +++ b/src/main/java/org/apache/commons/math/stat/inference/OneWayAnovaImpl.java @@ -22,7 +22,7 @@ import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.distribution.FDistribution; import org.apache.commons.math.distribution.FDistributionImpl; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.stat.descriptive.summary.Sum; import org.apache.commons.math.stat.descriptive.summary.SumOfSquares; diff --git a/src/main/java/org/apache/commons/math/stat/inference/TTestImpl.java b/src/main/java/org/apache/commons/math/stat/inference/TTestImpl.java index 14d542009..c45e07adb 100644 --- a/src/main/java/org/apache/commons/math/stat/inference/TTestImpl.java +++ b/src/main/java/org/apache/commons/math/stat/inference/TTestImpl.java @@ -20,7 +20,7 @@ import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.distribution.TDistribution; import org.apache.commons.math.distribution.TDistributionImpl; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.stat.StatUtils; import org.apache.commons.math.stat.descriptive.StatisticalSummary; diff --git a/src/main/java/org/apache/commons/math/stat/regression/AbstractMultipleLinearRegression.java b/src/main/java/org/apache/commons/math/stat/regression/AbstractMultipleLinearRegression.java index c9650cfd8..c6182a5e8 100644 --- a/src/main/java/org/apache/commons/math/stat/regression/AbstractMultipleLinearRegression.java +++ b/src/main/java/org/apache/commons/math/stat/regression/AbstractMultipleLinearRegression.java @@ -17,7 +17,7 @@ package org.apache.commons.math.stat.regression; import org.apache.commons.math.MathRuntimeException; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; import org.apache.commons.math.linear.RealMatrix; import org.apache.commons.math.linear.Array2DRowRealMatrix; import org.apache.commons.math.linear.RealVector; diff --git a/src/main/java/org/apache/commons/math/stat/regression/SimpleRegression.java b/src/main/java/org/apache/commons/math/stat/regression/SimpleRegression.java index d6a71ccd3..11eb2beed 100644 --- a/src/main/java/org/apache/commons/math/stat/regression/SimpleRegression.java +++ b/src/main/java/org/apache/commons/math/stat/regression/SimpleRegression.java @@ -22,7 +22,7 @@ import org.apache.commons.math.MathException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.distribution.TDistribution; import org.apache.commons.math.distribution.TDistributionImpl; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Estimates an ordinary least squares regression model diff --git a/src/main/java/org/apache/commons/math/transform/FastCosineTransformer.java b/src/main/java/org/apache/commons/math/transform/FastCosineTransformer.java index b2a4c8b5f..ce59b4df9 100644 --- a/src/main/java/org/apache/commons/math/transform/FastCosineTransformer.java +++ b/src/main/java/org/apache/commons/math/transform/FastCosineTransformer.java @@ -20,7 +20,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.complex.Complex; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the diff --git a/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java b/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java index 71573f25a..97e152be5 100644 --- a/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java +++ b/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java @@ -19,7 +19,7 @@ package org.apache.commons.math.transform; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.UnivariateRealFunction; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the Fast Hadamard Transform (FHT). diff --git a/src/main/java/org/apache/commons/math/transform/FastSineTransformer.java b/src/main/java/org/apache/commons/math/transform/FastSineTransformer.java index 4da853273..12785f188 100644 --- a/src/main/java/org/apache/commons/math/transform/FastSineTransformer.java +++ b/src/main/java/org/apache/commons/math/transform/FastSineTransformer.java @@ -20,7 +20,7 @@ import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.complex.Complex; -import org.apache.commons.math.exception.LocalizedFormats; +import org.apache.commons.math.exception.util.LocalizedFormats; /** * Implements the