Use of exception handler in extractors