public int inputToInt() {
		int inputValue = 0;
		while (true) {
			try {
				inputValue = this.in.nextInt();
				break;
			} catch (NumberFormatException e) {
				System.out.println("That wasn't an int value. Try another one...");
				this.in.nextLine();
			} catch (InputMismatchException e) {
				System.out.println("That wasn't an int value. Try another one...");
				this.in.nextLine();
			}
		}
		return inputValue;
	}