public void exitQueuedState(int exitTime) throws VehicleException {
		this.exitTime = exitTime;
		if (isParked() == true) {
			throw new VehicleException("Vehicle is parked.");
		} else if (isQueued() != true) {
			throw new VehicleException("Vehicle is not in queue.");
		} else if (exitTime < getArrivalTime()) {
			throw new VehicleException("Arrival time is later than exit time.");
		}

		else if (vehicleState == "queued") {
			vehicleState = "unqueued";
		}
	}