private void init(String yamlContent) throws YAMLConfigManagerException {
        try {
            CustomClassLoaderConstructor constructor =
                    new CustomClassLoaderConstructor(RootConfiguration.class.getClassLoader(), new LoaderOptions());
            PropertyUtils propertyUtils = new PropertyUtils();
            propertyUtils.setSkipMissingProperties(true);
            constructor.setPropertyUtils(propertyUtils);

            Yaml yaml = new Yaml(constructor);
            yaml.setBeanAccess(BeanAccess.FIELD);
            this.rootConfiguration = yaml.loadAs(yamlContent, RootConfiguration.class);
        } catch (Exception e) {
            throw new YAMLConfigManagerException("Unable to parse YAML string, '" + yamlContent + "'.", e);
        }
    }
Initialises YAML Config Manager by parsing the YAML file

@throws YAMLConfigManagerException Exception is thrown if there are issues in processing thr yaml file
modules/siddhi-core/src/main/java/io/siddhi/core/util/config/YAMLConfigManager.java