Package net.augeas

Examples of net.augeas.AugeasException


            finishConfigurationUpdate(report);
        } catch (Exception e) {
            if (tree != null) {
                LOG.error("Augeas failed to save configuration " + tree.summarizeAugeasError());
                e = new AugeasException("Failed to save configuration: " + tree.summarizeAugeasError() + " ", e);
            } else
                LOG.error("Augeas failed to save configuration", e);
            report.setStatus(ConfigurationUpdateStatus.FAILURE);
            report.setErrorMessageFromThrowable(e);
            if (!originalConfig.equals(report.getConfiguration())) {
View Full Code Here


                    augeas.set("/augeas/load/" + module.getModuletName() + "/incl[" + (idx++) + "]", incl);
                }
            }
            augeas.load();
        } catch (NoClassDefFoundError e) {
            throw new AugeasException("Failed to initialize Augeas. It is probably not installed.", e);
        } catch (Exception e) {
            throw new AugeasException(e);
        }
    }
View Full Code Here

TOP

Related Classes of net.augeas.AugeasException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.