Examples of PreceptorViolationException


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

Examples of org.apache.cocoon.precept.PreceptorViolationException

                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
Copyright © 2018 www.massapi.com. 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.