Java开发网 |
注册 |
登录 |
帮助 |
搜索 |
排行榜 |
发帖统计
|
您没有登录 |
» Java开发网 » Java EE 综合讨论区
打印话题 寄给朋友 订阅主题 |
作者 | How to do with your java exception |
isquare
发贴: 2 积分: 0 |
于 2005-07-13 18:06
各位,我想问问,你们是怎样处理java exception de,比如那些异常是给客户看的,那些是给不给用户看的,尤其牵涉到数据库层的exception是怎么处理,用什么方式抛出,抛出的异常是否有统一的页面来处理。说的详细点、 |
作者 | Re:How to do with your java exception [Re:jameszhang] |
youlq
CJSDN高级会员 发贴: 260 积分: 95 |
于 2005-07-20 15:20
转一篇文章,也许有帮助: Exception management and error tracking in J2EE http://www.javaworld.com/javaworld/jw-07-2005/jw-0711-exception.html Develop an exception framework for handling errors in the J2EE world Summary Think back on your last J2EE project. Did you encounter situations when errors were never logged—or logged more than once? Did you spend countless hours tracking down a bug, whose real cause was that someone swallowed an exception somewhere? Did your users see a stack trace? If so, chances are, you might need a common strategy for exception management and some complementing code. This article provides the basis for developing a set of policies along with a supporting framework for error handling in the J2EE world. (3,100 words; July 11, 2005) Be tough! |
已读帖子 新的帖子 被删除的帖子 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |