Handling exception for findChildren