public void enterQueue(Vehicle v) throws SimulationException,
			VehicleException {
		if (vehiclesInQueue.size() >= maxQueueSize) {
			throw new VehicleException("The queue is full.");
		} else if (v.vehicleState == "queued") {
			throw new VehicleException("The vehicle is already queued.");
		} else if (v.vehicleState == "parked") {
			throw new VehicleException("The vehicle is already parked.");
		} else {
			vehiclesInQueue.add(v);
			v.vehicleState = "queued";
		}
	}