Adding exception handling for nested property