Class VectorAccessException

    • Constructor Detail

      • VectorAccessException

        public VectorAccessException​(int size,
                                     int index)
        Constructs an instance of VectorAccessException for out-of-range access.
        Parameters:
        size - the vector size
        index - the out-of-range index
      • VectorAccessException

        public VectorAccessException​(String msg)
        Constructs an instance of VectorAccessException.
        Parameters:
        msg - the error message