Adding exception in case Element not found.