ukacgla_ATT
Class EmptyCellException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--ukacgla_ATT.EmptyCellException
All Implemented Interfaces:
java.io.Serializable

public class EmptyCellException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
EmptyCellException(int r, int c)
          Class designed to record the location of an exception in a 2D array.
 
Method Summary
protected  int getCol()
          Returns the y co ordinate of the exception source.
protected  int getRow()
          Returns the x co ordinate of the exception source.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptyCellException

public EmptyCellException(int r,
                          int c)
Class designed to record the location of an exception in a 2D array. Each EmptyCellException is constructed using the row and column co ordinates of the location of the exception within the 2D array.
Method Detail

getCol

protected int getCol()
Returns the y co ordinate of the exception source.

getRow

protected int getRow()
Returns the x co ordinate of the exception source.