exceptions handling in pig extractor added