Package org.apache.cocoon.precept

Examples of org.apache.cocoon.precept.PreceptorViolationException


    public void setValue(String xpath, Object value, Context context) throws PreceptorViolationException, InvalidXPathSyntaxException {
        try {
            beanContext.setValue(xpath, value);
        }
        catch (Exception e) {
            throw new PreceptorViolationException(e);
        }
    }
View Full Code Here


                if (preceptor.isValidNode(xpath)) {
                    node = createNode(xpath);
                    node.setValue((String) value);
                }
                else {
                    throw new PreceptorViolationException("[" + String.valueOf(xpath) + "] is prohibited by preceptor");
                }
            }
            else {
                getLogger().debug("no preceptor");
                node = createNode(xpath);
View Full Code Here

TOP

Related Classes of org.apache.cocoon.precept.PreceptorViolationException

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.