Package org.jahia.exceptions

Examples of org.jahia.exceptions.JahiaNotFoundException


    protected String verifyWorkspace(String workspace) {
        if (StringUtils.isEmpty(workspace)) {
            workspace = DEFAULT_WORKSPACE;
        } else {
            if (!JCRContentUtils.isValidWorkspace(workspace)) {
                throw new JahiaNotFoundException("Unknown workspace '" + workspace + "'");
            }
        }
       
        return workspace;
    }
View Full Code Here

TOP

Related Classes of org.jahia.exceptions.JahiaNotFoundException

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.