patrick
/
plasp
Archived
1
0
Fork 0

Enhanced exception output for number parsing.

This commit is contained in:
Patrick Lühne 2016-05-20 16:26:24 +02:00
parent 6d7954e661
commit 59661621cd
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ size_t Description::parseNumber(std::istream &istream) const
}
catch (const std::exception &e)
{
throw ParserException("Could not parse number");
throw ParserException(std::string("Could not parse number (") + e.what() + ")");
}
if (number == std::numeric_limits<size_t>::max())