The above method is described as follows:
// Returns the unsigned int value of the property with the given name.
/// Throws a NotFoundException if the key does not exist.
/// Throws a SyntaxException if the property can not be converted
/// to an unsigned int.
/// Numbers starting with 0x are treated as hexadecimal.
/// If the value contains references to other properties (${}), these
/// are expanded.
but in fact the conversion is done by invoking NumberParser::parseUnsigned which callsstrToInt(s.c_str(), value, NUM_BASE_DEC, thSep);. As a result we get Syntax exception.
The above method is described as follows:
// Returns the unsigned int value of the property with the given name.
/// Throws a NotFoundException if the key does not exist.
/// Throws a SyntaxException if the property can not be converted
/// to an unsigned int.
/// Numbers starting with 0x are treated as hexadecimal.
/// If the value contains references to other properties (${}), these
/// are expanded.
but in fact the conversion is done by invoking
NumberParser::parseUnsignedwhich callsstrToInt(s.c_str(), value, NUM_BASE_DEC, thSep);. As a result we get Syntax exception.