catch exceptions from lookUp method