-
Notifications
You must be signed in to change notification settings - Fork 0
Exceptions
Piotr Szkudlarski edited this page Dec 11, 2018
·
5 revisions
When given configuration class contains not empty IDictionary of complex type library throws CollectionOfComplexTypeException. For examples:
public class KeyInDictionaryOfComplexDataConfiguration
{
public Dictionary<TestConfiguration, int> ComplexDictionary { get; set; };
}For given configuration class:
public struct TestConfigurationField
{
public int TestInt;
}If library reads value from ini in wrong format e.g. "wrong_formatted_int" IniWrongFormatException is thrown, because we cannot bind string type value to int type.