Fix Version.parse cases to catch ParseException instead of IAE