Package org.lilystudio.smarty4j

Examples of org.lilystudio.smarty4j.ParseException


        if (floor > 0) {
          return;
        }
      }
    }
    throw new ParseException("参数错误");
  }
View Full Code Here


  @Override
  public void addStatement(IStatement statement) throws ParseException {
    if (statement instanceof $foreachelse) {
      if (elseBlock != null) {
        throw new ParseException("不能重复定义foreachelse");
      } else {
        elseBlock = new BlockStatement();
        elseBlock.setParent(this.getParent());
      }
    } else if (elseBlock != null) {
View Full Code Here

TOP

Related Classes of org.lilystudio.smarty4j.ParseException

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.