adding tree parsing exception
Merge pull request #6 from FePhyFoFum/tree_parse_exception

adding tree parsing exception