try catch block 
Author Message
 try catch block

are there any performance issues if i use try catch blocks everywhere ?


Wed, 27 Apr 2005 04:04:53 GMT  
 try catch block

Quote:

>are there any performance issues if i use try catch blocks everywhere ?

Yes, there is a large performance hit when an exception is handled.  You should
use try/catch blocks everywhere, for handling exceptional conditions.  You
should not use them as a "normal" way of affecting the flow of control in a
program.

--
*--------={ Fine Art for .NET }=--------*
| The Best Internet Components for .NET |
|       Turn on, tune in, download.     |

|           www.abderaware.com          |
*---------------------------------------*



Wed, 27 Apr 2005 04:13:29 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. The if ~ else block in try~catch block

2. Optimizer ignores try-catch block

3. does atl support try..catch block?(empty inside)

4. Overhead of try-catch blocks?

5. /Og causes intermittent omission of try..catch block

6. nested try/catch block and _set_se_translator

7. try{} catch{} block and Global Optimization

8. Error processing using try-catch blocks

9. can I nest try/catch blocks?

10. Try catch blocks - can multiple methods share a single try/catch combination?

11. Try catch blocks - can multiple methods share a single try/catch combination?

12. Is this a bug with the TRY CATCH block?

 

 
Powered by phpBB® Forum Software