class AAIUpdateTasks {

    protected void updateNetwork(BuildingBlockExecution execution, OrchestrationStatus status) {
        try {
            L3Network l3Network = extractPojosForBB.extractByKey(execution, ResourceKey.NETWORK_ID);
            updateNetworkAAI(l3Network, status);
        } catch (Exception ex) {
            logger.error("Exception occurred in AAIUpdateTasks updateNetwork", ex);
            exceptionUtil.buildAndThrowWorkflowException(execution, 7000, ex);
        }
    }

}