Added exception handler to extractors