public void exitQueue(Vehicle v,int exitTime) throws SimulationException, VehicleException {
		if(!v.isQueued())
			throw new SimulationException("Vehicle not in queue");
		if((!v.isQueued()) || (exitTime > Constants.CLOSING_TIME) || (exitTime < 0) )
			throw new VehicleException("vehicle is in an incorrect state or timing constraints are violated");
		queue.remove(v);
		v.exitQueuedState(exitTime);
	}