exceptions
Class InvalidVehicleException

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

public class InvalidVehicleException
extends RushHourException

Cheifly concerned with invalid vehicles (must be of type "car" or "truck").

See Also:
Serialized Form

Constructor Summary
InvalidVehicleException()
          The vehicle must be of type "car" or "truck."
 
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

InvalidVehicleException

public InvalidVehicleException()
The vehicle must be of type "car" or "truck."