commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1054322 - /commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/AbstractRealVector.java
Date Sat, 01 Jan 2011 23:43:51 GMT
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)



Mime
View raw message