Catches NumberFormatException when user wants to convert invalid value