L*r
2 楼
typically I only use exceptions for rare happened errors.
Althrough MS said using exceptions would not bring too much performance penalty,
I doubt it. Java will have performance penalty when using exceptions especially
for JIT VMs. You can find infromation from IBM.
If the error is really a "wrong opertions", just use exceptions for good code
management. But don't abuse exceptions. I have seen some guy used exceptions
for the situation that would happen > 20% probability. That's really not
excep
【在 a********y 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 到底要怎样计划和执行呢?
: 谢谢。
Althrough MS said using exceptions would not bring too much performance penalty,
I doubt it. Java will have performance penalty when using exceptions especially
for JIT VMs. You can find infromation from IBM.
If the error is really a "wrong opertions", just use exceptions for good code
management. But don't abuse exceptions. I have seen some guy used exceptions
for the situation that would happen > 20% probability. That's really not
excep
【在 a********y 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 到底要怎样计划和执行呢?
: 谢谢。
a*y
3 楼
Do you plan what exceptions and how many exceptions
before you start coding?
Thx.
【在 L*******r 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: typically I only use exceptions for rare happened errors.
: Althrough MS said using exceptions would not bring too much performance penalty,
: I doubt it. Java will have performance penalty when using exceptions especially
: for JIT VMs. You can find infromation from IBM.
: If the error is really a "wrong opertions", just use exceptions for good code
: management. But don't abuse exceptions. I have seen some guy used exceptions
: for the situation that would happen > 20% probability. That's really not
: excep
before you start coding?
Thx.
【在 L*******r 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: typically I only use exceptions for rare happened errors.
: Althrough MS said using exceptions would not bring too much performance penalty,
: I doubt it. Java will have performance penalty when using exceptions especially
: for JIT VMs. You can find infromation from IBM.
: If the error is really a "wrong opertions", just use exceptions for good code
: management. But don't abuse exceptions. I have seen some guy used exceptions
: for the situation that would happen > 20% probability. That's really not
: excep
L*r
6 楼
depends on how many function models you have.
I like to classify exceptions from their models.
And I always give a way that when end-user administrator
reports us the error message, we can find the exact palce
of that code.
I also wrote exceptions manual in my formal company. :)
【在 a********y 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: oh. Actually, I mean how many types.
I like to classify exceptions from their models.
And I always give a way that when end-user administrator
reports us the error message, we can find the exact palce
of that code.
I also wrote exceptions manual in my formal company. :)
【在 a********y 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: oh. Actually, I mean how many types.
p*n
7 楼
1) MSDN 上有个关于EXCEPTION MANAGEMENT的APPLICATION BLOCK
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/emab-rm.asp
2) Also, an old but good guide on EXP MGMT
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/exceptdotnet.asp
3) A list of references :
http://www.dotnet247.com/247reference/guide/39.aspx
4) 这本书的第二章,有一段对于EXCEPTION,TRACING,LOGGING比较精辟的论述:
碰巧,AW上的SAMPLE CHAPTER就是这一章.
http://www.awprofessional.com/isapi/product_id~%7B7213929D-3C04-4D0D
【在 a********y 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 到底要怎样计划和执行呢?
: 谢谢。
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/emab-rm.asp
2) Also, an old but good guide on EXP MGMT
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/exceptdotnet.asp
3) A list of references :
http://www.dotnet247.com/247reference/guide/39.aspx
4) 这本书的第二章,有一段对于EXCEPTION,TRACING,LOGGING比较精辟的论述:
碰巧,AW上的SAMPLE CHAPTER就是这一章.
http://www.awprofessional.com/isapi/product_id~%7B7213929D-3C04-4D0D
【在 a********y 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 到底要怎样计划和执行呢?
: 谢谢。
a*y
8 楼
Thx a lot.【 在 payan (沛岩) 的大作中提到: 】
p*n
9 楼
hmm, 这本书的配套源代码终于出来了.
相关阅读
VB.net 问题求助how to display a number with the desired digitshow to conver 0xfffa to int?C#中的Memory控制讨厌的WARNING: 在 MANAGED C++ 中写东东 (转载)How to delete a file from a C++ project急急急!!!C#问题Windows Service Programming (转载)有人已经拿到free的VS.NET 2005 Beta2了吗? GET VS2005 BETA2 FOR FREEasp.net/IIS configuration problem 两本中国人写的关于TEST AUTOMATION的书ASP.net一定要在IIS server上工作吗?VS2005能和VS2003装在一个OS上么?请问DATAGRID里的BOUNDCOLUMN HEADER可以又有TEXT又有Windows Forms的TreeView两问got my 2005 beta2 today问:managed c++.NET 新手 请教两个弱问题[转载] 有没有人出来反驳我???