public static int getIntInput(String query) {
		int response = 0;
		boolean done = false;
		do {
			try {
				response = new Integer(ConsoleTools.getInput(query)).intValue();
				done = true;
			} catch (Exception e) {}
		} while (!done);
		
		return response;	
	}