improved TableParserException code