thinkphp3.2.2使用try catch
来源:互联网 发布:plsql数据库中文乱码 编辑:程序博客网 时间:2024/05/29 15:39
try{ if (1) { //这里Exception前加\是php自带的Exception,不然报错 throw new \Exception("测试错误"); } echo "aewsgfsdghdyjh"; } //这里的\Exception不加斜杠的话回使用think的Exception类 catch(\Exception $e){ echo('AAAA'); }
0 0
- thinkphp3.2.2使用try catch
- thinkphp3.2.2try catch和mysql事务
- 使用try和catch
- try catch throw 使用
- try catch使用
- try catch 合理使用
- 使用try Catch小结
- 使用try Catch小结
- 什么时候使用try-catch
- try catch使用
- 使用TRY/CATCH 格式
- try catch 的使用
- 使用try-catch
- try...catch的使用
- try catch 使用
- try catch 使用
- try-catch使用思考
- 使用try/catch捕获异常
- Eclipse生成JavaDoc
- 查询硬件与系统配置的API函数(C++)
- ubuntu 插上耳机没声音
- Entity Framework 部分应用
- mysql远程无法访问
- thinkphp3.2.2使用try catch
- coretext 图文混排
- u-boot中SPL源代码分析
- 视图(view)、视图控制器(view controller)之间的数量关系
- OA协同办公管理信息系统
- Linux中在防火墙中开启80端口的例子
- 控制文件恢复
- 基于内存数据库的分布式数据库架构--何坤
- 数据库故障诊断(Troubleshooting)之性能问题导致的数据库严重故障案例之一