exceptions
Class InvalidFirstVehicleException

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.InvalidFirstVehicleException
All Implemented Interfaces:
java.io.Serializable

public class InvalidFirstVehicleException
extends RushHourException

Chiefly concerned with the red car being the first vehicle added to the board.

See Also:
Serialized Form

Constructor Summary
InvalidFirstVehicleException()
          The first vehicle must be the red car.
 
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

InvalidFirstVehicleException

public InvalidFirstVehicleException()
The first vehicle must be the red car.