SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.matrix
Class MatrixAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
MatrixAccessException()
          Construct a MatrixAccessException.
MatrixAccessException(java.lang.String msg)
          Construct a MatrixAccessException with a message.
 
Method Summary
 
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
 

Constructor Detail

MatrixAccessException

public MatrixAccessException()
Construct a MatrixAccessException.


MatrixAccessException

public MatrixAccessException(java.lang.String msg)
Construct a MatrixAccessException with a message.

Parameters:
msg - an error message

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.