public void exitQueue(Vehicle v, int exitTime) throws SimulationException,
			VehicleException {
		if (v.isQueued() == false) {
			throw new VehicleException("Vehicle is not in queue.");
		} else if (exitTime < 0) {
			throw new VehicleException(
					"Vehicle cannot exit at a negative time.");
		} else if (exitTime > Constants.CLOSING_TIME) {
			throw new VehicleException("Car Park is closed.");
		}
		v.exitQueuedState(exitTime);
		vehiclesInQueue.remove(v);
	}