public void goToFloor(int floorWanted) throws FloorNotValidException, SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
		if (!elevator.isFloorValid(floorWanted)){
			throw new FloorNotValidException("El piso seleccionado ("+floorWanted+") no es valido: Lowest="+Elevator.MIN_FLOOR+"; Highest:"+Elevator.MAX_FLOOR);
		}
		Method direction;
		if (floorWanted>elevator.getFloor())
			direction = this.getClass().getMethod("up1Floor");
		else 
			direction = this.getClass().getMethod("down1Floor");
		
		while (elevator.getFloor() != floorWanted){
			direction.invoke(this,(Object [])null);
		}
		elevator.openDoor();
	}