Parsing exception handling