HAKOM.Configuration.Core.Net.Api.Exceptions Namespace
Contains exception types thrown by the HAKOM configuration infrastructure.
Remarks
Section titled “Remarks”All exceptions in this namespace inherit from
HakomException and carry unique error
codes in the HK06xxx range. They are typically thrown during configuration
loading when a source file is missing, a required option is null,
or a duplicate configuration entry is detected.
Exception constructors are internal; these types are only created by the configuration infrastructure itself.
| Classes | |
|---|---|
| ConfigurationAlreadyAddedException | Thrown when an attempt was made to add a configuration, which has already been registered. Indicates the possibility of a circular reference or that the configuration exists multiple times. |
| ConfigurationFileNotFoundException | Thrown when the non optional configuration file was not found. |
| ConfigurationOptionCannotBeNullException | Thrown when a non-nullable configuration option is either not provided, empty or null. |
| InvalidRequiredConfigurationValueException | Thrown when a required configuration value is present but does not pass validation. |
| MissingRequiredConfigurationValueException | Thrown when a required configuration value is missing or null. |
| NoConfigurationSourceFactoryForConfigurationEntryFoundException | Thrown when there is no registered ConfigurationSourceFactory for a configuration entry. |
| NoConfigurationSourceSpecifiedException | Thrown when there was no configuration source specified. |
Was this page helpful?Thanks for your feedback!