Proper exception on a parse error