Package rasj

Class RasIndexOutOfBoundsException

All Implemented Interfaces:
Serializable

public class RasIndexOutOfBoundsException extends RasException

 PURPOSE:
 This exception is thrown when a cell index for an MDD exceeds
 the objects's bounds.
See Also:
  • Constructor Details

    • RasIndexOutOfBoundsException

      protected RasIndexOutOfBoundsException(long dlow, long dhigh, long dindex)
      stamdard constructor getting lower bound, upper bound and the index.
      Parameters:
      dlow - lower bound of the object
      dhigh - upper bound of the object
      dindex - the index that caused this exception
  • Method Details

    • getMessage

      public String getMessage()
      Returns the error message.
      Overrides:
      getMessage in class RasException
      Returns:
      the error message.
    • getLow

      public long getLow()
      Returns the lower bound of the accessed object.
      Returns:
      the lower bound of the object
    • getHigh

      public long getHigh()
      Returns the higher bound of the accessed object.
      Returns:
      the higher bound of the object
    • getIndex

      public long getIndex()
      Returns the index responsible for throwing this exception.
      Returns:
      the index that caused the exception