updated with new exception that indicates a key was not found.