Package rasj

Class RasIndexOutOfBoundsException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RasIndexOutOfBoundsException​(long dlow, long dhigh, long dindex)
      stamdard constructor getting lower bound, upper bound and the index.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getHigh()
      Returns the higher bound of the accessed object.
      long getIndex()
      Returns the index responsible for throwing this exception.
      long getLow()
      Returns the lower bound of the accessed object.
      java.lang.String getMessage()
      Returns the error message.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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

      • 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 Detail

      • getMessage

        public java.lang.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