浏览代码

jfinal 3.6

James 7 年之前
父节点
当前提交
b66c905718
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/jfinal/template/ext/directive/CallDirective.java

+ 2 - 2
src/main/java/com/jfinal/template/ext/directive/CallDirective.java

@@ -84,7 +84,7 @@ public class CallDirective extends Directive {
 			if (nullSafe) {
 				return ;
 			}
-			throw new TemplateException("模板函数不存在 : " + funcNameValue, location);
+			throw new TemplateException("模板函数名为 null", location);
 		}
 		
 		if (!(funcNameValue instanceof String)) {
@@ -97,7 +97,7 @@ public class CallDirective extends Directive {
 			if (nullSafe) {
 				return ;
 			}
-			throw new TemplateException("模板函数不存在 : " + funcNameValue, location);
+			throw new TemplateException("模板函数未找到 : " + funcNameValue, location);
 		}
 		
 		func.call(env, scope, paraExpr, writer);