exceptions
Class OffGameBoardException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by exceptions.RushHourException
                  extended by exceptions.OffGameBoardException
All Implemented Interfaces:
java.io.Serializable

public class OffGameBoardException
extends RushHourException

Chiefly concerned with vehicles being placed within the bounds of the game board.

See Also:
Serialized Form

Constructor Summary
OffGameBoardException(int x, int y)
          A vehicles placement has overflowed the boundaries of the game board.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

OffGameBoardException

public OffGameBoardException(int x,
                             int y)
A vehicles placement has overflowed the boundaries of the game board.