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
This commit is contained in:
Gilles Sadowski 2010-08-10 10:46:06 +00:00
parent c15e80eba9
commit d2fd025403
179 changed files with 207 additions and 190 deletions

View File

@ -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

View File

@ -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.

View File

@ -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.

View File

@ -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;
/**

View File

@ -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.

View File

@ -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;
/**

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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 <a href="http://mathworld.wolfram.com/Legendre-GaussQuadrature.html">

View File

@ -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 <a href="http://mathworld.wolfram.com/RombergIntegration.html">

View File

@ -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 <a href="http://mathworld.wolfram.com/SimpsonsRule.html">

View File

@ -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 <a href="http://mathworld.wolfram.com/TrapezoidalRule.html">

View File

@ -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;
/**

View File

@ -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;

View File

@ -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 <a href="http://en.wikipedia.org/wiki/Local_regression">

View File

@ -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.

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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 <a href="http://mathworld.wolfram.com/BrentsMethod.html">

View File

@ -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 <a href="http://mathworld.wolfram.com/LaguerresMethod.html">

View File

@ -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 <a href="http://mathworld.wolfram.com/NewtonsMethod.html">

View File

@ -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;
/**

View File

@ -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;
/**

View File

@ -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;
/**

View File

@ -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;
/**

View File

@ -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;

View File

@ -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

View File

@ -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;
/**

View File

@ -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.

View File

@ -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;

View File

@ -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;

View File

@ -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;
/**

View File

@ -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

View File

@ -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}.

View File

@ -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;
/**

View File

@ -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;
/**

View File

@ -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;
/**

View File

@ -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;
/**

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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}.

View File

@ -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;

View File

@ -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.

View File

@ -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;

View File

@ -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;
/**

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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.
*

View File

@ -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}.

View File

@ -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;

View File

@ -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.

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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;
/**

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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.

View File

@ -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;
/**

View File

@ -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;
/**

View File

@ -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.

View File

@ -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;
/**

View File

@ -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

View File

@ -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<T> using a {@link FieldElement}[][] array to store entries.

View File

@ -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

View File

@ -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.

View File

@ -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;
/**

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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;
/**

View File

@ -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;
/**

View File

@ -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.

View File

@ -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

View File

@ -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.

View File

@ -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)

View File

@ -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;

Some files were not shown because too many files have changed in this diff Show More