异常类规范 增加异常类 改进Query类的value和column的缓存冲突问题

This commit is contained in:
thinkphp
2016-06-12 16:35:42 +08:00
parent 659900ab91
commit b10635e22e
33 changed files with 236 additions and 79 deletions

View File

@@ -11,6 +11,8 @@
namespace think;
use think\exception\TemplateNotFoundException;
/**
* ThinkPHP分离出来的模板引擎
* 支持XML标签和普通标签的模板解析
@@ -1066,7 +1068,7 @@ class Template
$this->includeFile[$template] = filemtime($template);
return $template;
} else {
throw new Exception('template not exist:' . $template, 10700);
throw new TemplateNotFoundException('template not exist:' . $template);
}
}