Skip to content

Poco::NumberParser::tryParseHex raise Poco::SyntaxException exception. #4859

@uzanka

Description

@uzanka

Describe the bug
The following functions raise Poco::SyntaxException exceptions:
Poco::NumberParser::tryParseHex, ... (all tryParse* ?)

Expected behavior
tryParse* functions does not raise any exceptions.

Logs
NumericString.h : strToInt

		if (*pStr == thSep)
		{
			if (base == 10) continue;
			throw Poco::SyntaxException("strToInt: thousand separators only allowed for base 10");
		}

Please add relevant environment information:

  • OS: Windows11
  • POCO Version: 1.12, or later
    (The problem does not occur in version 1.9.)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions