com.numericalmethod.suanshu.matrix
Class MatrixAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.numericalmethod.suanshu.matrix.MatrixAccessException
- All Implemented Interfaces:
- java.io.Serializable
public class MatrixAccessException
- extends java.lang.RuntimeException
This defines the RuntimeException thrown when trying to access an invalid entry in a matrix,
e.g., A[0, 0].
Matrix indices count from 1. The first entry (upper left hand corner) is A[1, 1].
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MatrixAccessException
public MatrixAccessException()
- Construct a MatrixAccessException.
MatrixAccessException
public MatrixAccessException(java.lang.String msg)
- Construct a MatrixAccessException with a message.
- Parameters:
msg - an error message
Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.