Proper exceptional cases handling for #EntityNameExtractor's user code.