由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Top Ten Errors Java Programmers Make(5)
相关主题
Re: Can create a Interface object, why?问个SOAP Service的问题
Is this a Bug or not?有人用seam吗
Signal handler, thanksJava如何实现自动消失的消息框?
how to get Frame from ActionEvent?再论abstract class
多线程搜索同一个文件问题。请教关于使用map和fields
Java在Web领域是不是太笨重了?这个错误怎么解决啊
JAXBpdf form 还是 html form
java & signal processTomcat JSP syntax error
相关话题的讨论汇总
话题: exception话题: errors话题: java话题: ten话题: top
进入Java版参与讨论
1 (共1页)
b*g
发帖数: 644
1
5. Writing blank exception handlers
I know it's very tempting to write blank exception handlers, and to just
ignore errors. But if you run into problems, and haven't written any
error messages, it becomes almost impossible to find out the cause of
the error. Even the simplest exception handler can be of benefit. For
example, put a try { .. } catch Exception around your code, to catch ANY
type of exception, and print out the message. You don't need to write a
custom handler for every exception (t
1 (共1页)
进入Java版参与讨论
相关主题
Tomcat JSP syntax error多线程搜索同一个文件问题。
这可能是什么引起的?Java在Web领域是不是太笨重了?
weird class definitionJAXB
如何在自定义的错误页面中捕获错误信息java & signal process
Re: Can create a Interface object, why?问个SOAP Service的问题
Is this a Bug or not?有人用seam吗
Signal handler, thanksJava如何实现自动消失的消息框?
how to get Frame from ActionEvent?再论abstract class
相关话题的讨论汇总
话题: exception话题: errors话题: java话题: ten话题: top