Parse the version string to SemVer.
parsed SemVer.
version string to be parsed.
if the given string is not a valid version.
if major, minor, patch values exceed Int range.