Package com.jeecms.core.tpl

Examples of com.jeecms.core.tpl.ParentDirIsFileExceptioin


    DbTpl dirTpl;
    Tpl parentDir;
    for (String dir : dirs) {
      parentDir = get(dir);
      if (parentDir != null && !parentDir.isDirectory()) {
        throw new ParentDirIsFileExceptioin(
            "parent directory is a file: " + parentDir.getName());
      } else if (parentDir == null) {
        dirTpl = new DbTpl();
        dirTpl.setId(dir);
        dirTpl.setDirectory(true);
View Full Code Here

TOP

Related Classes of com.jeecms.core.tpl.ParentDirIsFileExceptioin

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.