You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2004/07/11 20:43:44 UTC

cvs commit: jakarta-commons/math/src/java/org/apache/commons/math/linear InvalidMatrixException.java MatrixIndexException.java

psteitz     2004/07/11 11:43:44

  Modified:    math/src/java/org/apache/commons/math/linear
                        InvalidMatrixException.java
                        MatrixIndexException.java
  Log:
  Changed to extend RuntimeException, removing [lang] dependency.
  
  Revision  Changes    Path
  1.7       +2 -4      jakarta-commons/math/src/java/org/apache/commons/math/linear/InvalidMatrixException.java
  
  Index: InvalidMatrixException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/linear/InvalidMatrixException.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- InvalidMatrixException.java	7 Jun 2004 03:26:31 -0000	1.6
  +++ InvalidMatrixException.java	11 Jul 2004 18:43:44 -0000	1.7
  @@ -16,15 +16,13 @@
   
   package org.apache.commons.math.linear;
   
  -import org.apache.commons.lang.exception.NestableRuntimeException;
  -
   /**
    * Thrown when a system attempts an operation on a matrix, and
    * that matrix does not satisfy the preconditions for the
    * aforementioned operation.
    * @version $Revision$ $Date$
    */
  -public class InvalidMatrixException extends NestableRuntimeException {
  +public class InvalidMatrixException extends RuntimeException {
   
       /** Serializable version identifier */
       static final long serialVersionUID = 5318837237354354107L;
  
  
  
  1.7       +2 -4      jakarta-commons/math/src/java/org/apache/commons/math/linear/MatrixIndexException.java
  
  Index: MatrixIndexException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/linear/MatrixIndexException.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- MatrixIndexException.java	7 Jun 2004 03:26:31 -0000	1.6
  +++ MatrixIndexException.java	11 Jul 2004 18:43:44 -0000	1.7
  @@ -16,14 +16,12 @@
   
   package org.apache.commons.math.linear;
   
  -import org.apache.commons.lang.exception.NestableRuntimeException;
  -
   /**
    * Thrown when an operation addresses a matrix coordinate (row,col)
    * which is outside of the dimensions of a matrix.
    * @version $Revision$ $Date$
    */
  -public class MatrixIndexException extends NestableRuntimeException {
  +public class MatrixIndexException extends RuntimeException {
   
       /** Serializable version identifier */
       static final long serialVersionUID = -1341109412864309526L;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org