Author: psteitz Date: Sat Jan 1 23:43:50 2011 New Revision: 1054322 URL: http://svn.apache.org/viewvc?rev=1054322&view=rev Log: Corrected exception type.
Modified: commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/AbstractRealVector.java Modified: commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/AbstractRealVector.java URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/AbstractRealVector.java?rev=1054322&r1=1054321&r2=1054322&view=diff ============================================================================== --- commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/AbstractRealVector.java (original) +++ commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/AbstractRealVector.java Sat Jan 1 23:43:50 2011 @@ -40,7 +40,7 @@ public abstract class AbstractRealVector /** * Check if instance and specified vectors have the same dimension. * @param v vector to compare instance with - * @exception IllegalArgumentException if the vectors do not + * @exception DimensionMismatchException if the vectors do not * have the same dimension */ protected void checkVectorDimensions(RealVector v) { @@ -51,7 +51,7 @@ public abstract class AbstractRealVector * Check if instance dimension is equal to some expected value. * * @param n expected dimension. - * @exception IllegalArgumentException if the dimension is + * @exception DimensionMismatchException if the dimension is * inconsistent with vector size */ protected void checkVectorDimensions(int n)