Changed to extend RuntimeException, removing [lang] dependency.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141379 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2004-07-11 18:43:44 +00:00
parent 75dc4f119a
commit 6251c12a57
2 changed files with 4 additions and 8 deletions

View File

@ -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: 1.6 $ $Date: 2004/06/07 03:26:31 $
* @version $Revision: 1.7 $ $Date: 2004/07/11 18:43:44 $
*/
public class InvalidMatrixException extends NestableRuntimeException {
public class InvalidMatrixException extends RuntimeException {
/** Serializable version identifier */
static final long serialVersionUID = 5318837237354354107L;

View File

@ -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: 1.6 $ $Date: 2004/06/07 03:26:31 $
* @version $Revision: 1.7 $ $Date: 2004/07/11 18:43:44 $
*/
public class MatrixIndexException extends NestableRuntimeException {
public class MatrixIndexException extends RuntimeException {
/** Serializable version identifier */
static final long serialVersionUID = -1341109412864309526L;