Skip to content
Documentation

HAKOM.Versioning.Core.Net.Api.Exceptions Namespace

Contains exception types thrown when version parsing or retrieval operations fail.

All exceptions in this namespace derive from HakomException and carry unique error codes. They map to System.Net.HttpStatusCode.InternalServerError because version parsing failures typically indicate a service configuration problem rather than a client error.

The exceptions are:

Classes
CouldNotParseVersionException Thrown when a version string cannot be parsed into an IVersion instance.
CouldNotRetrieveVersionFromAssemblyException Thrown when no parseable version information can be retrieved from an System.Reflection.Assembly.
InvalidBuildInformationException Thrown when a version string cannot be parsed as a semantic version because the build metadata (the part after +) does not meet the SemVer 2.0 requirements.
InvalidPrereleaseInformationException Thrown when a version string cannot be parsed as a semantic version because the pre-release information (the part after -) does not meet the SemVer 2.0 requirements.
MalformedLegacyVersionStringException Indicates that an attempt was made to parse a legacy version string that was not in the correct format.
MalformedSemanticVersionStringException Indicates that an attempt was made to parse a SemVer version string that was not in the correct format.
© 2026 Volue.Version v0.6.38017 November 2026