preventive try-catch for Integer.parseInt