Class MatrixAccessException

  • All Implemented Interfaces:
    Serializable

    public class MatrixAccessException
    extends RuntimeException
    This is the runtime exception 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 Detail

      • MatrixAccessException

        public MatrixAccessException()
        Construct an instance of MatrixAccessException.
      • MatrixAccessException

        public MatrixAccessException​(String msg)
        Construct an instance of MatrixAccessException with a message.
        Parameters:
        msg - an error message