Package rasj
Class RasIndexOutOfBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
rasj.RasException
rasj.RasIndexOutOfBoundsException
- All Implemented Interfaces:
Serializable
PURPOSE: This exception is thrown when a cell index for an MDD exceeds the objects's bounds.
- See Also:
-
Field Summary
Fields inherited from class rasj.RasException
errNo, errText -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRasIndexOutOfBoundsException(long dlow, long dhigh, long dindex) stamdard constructor getting lower bound, upper bound and the index. -
Method Summary
Methods inherited from class rasj.RasException
getErrNoMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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 objectdhigh- upper bound of the objectdindex- the index that caused this exception
-
-
Method Details
-
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
-