exceptions
Class InvalidVehicleColorException

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

public class InvalidVehicleColorException
extends RushHourException

Chiefly concerned with vehicle color (two vehicles cannot have the same color).

See Also:
Serialized Form

Constructor Summary
InvalidVehicleColorException()
          Only one vehicle of each color may be added to 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

InvalidVehicleColorException

public InvalidVehicleColorException()
Only one vehicle of each color may be added to the game board.