class AAIUpdateTasks {

    public void updateObjectNetwork(BuildingBlockExecution execution) {
        try {
            L3Network l3network = extractPojosForBB.extractByKey(execution, ResourceKey.NETWORK_ID);
            aaiNetworkResources.updateNetwork(l3network);
        } catch (Exception ex) {
            logger.error("Exception occurred in AAIUpdateTasks updateObjectNetwork", ex);
            exceptionUtil.buildAndThrowWorkflowException(execution, 7000, ex);
        }
    }

}