exceptions
Class VehicleOverlapException

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

public class VehicleOverlapException
extends RushHourException

Chiefly concerned with vehicles that are placed one over another.

See Also:
Serialized Form

Constructor Summary
VehicleOverlapException(int x, int y, java.lang.String color)
          The vehicle location specified overlaps a currently existing vehicle.
 
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

VehicleOverlapException

public VehicleOverlapException(int x,
                               int y,
                               java.lang.String color)
The vehicle location specified overlaps a currently existing vehicle.