+ when reading an enumeration ignore negative indexes and print a warning + raise an exception when trying to get the current value of an invalid enumeration
+ when reading an enumeration ignore negative indexes and print a warning + raise an exception when trying to get the current value of an invalid enumeration