Package rasj
Class RasIndexOutOfBoundsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- rasj.RasException
-
- rasj.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
-
-
Field Summary
-
Fields inherited from class rasj.RasException
errNo, errText
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRasIndexOutOfBoundsException(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 longgetHigh()Returns the higher bound of the accessed object.longgetIndex()Returns the index responsible for throwing this exception.longgetLow()Returns the lower bound of the accessed object.java.lang.StringgetMessage()Returns the error message.-
Methods inherited from class rasj.RasException
getErrNo
-
-
-
-
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 objectdhigh- upper bound of the objectdindex- the index that caused this exception
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Returns the error message.- Overrides:
getMessagein classRasException- 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
-
-