GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  C#
Go To First  |  Previous Question  |  Next Question 
 C#  |  Question 364 of 436    Print  
How to handle exceptions without using try catch finally

  
Total Answers and Comments: 6 Last Update: January 30, 2007     Asked by: Nitesh 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 10, 2006 07:30:05   #1  
ajeez        

How to handle exceptions without using try catch f...
No there is no way without try catch finally
 
Is this answer useful? Yes | No
October 23, 2006 07:25:10   #2  
ganesh        

RE: How to handle exceptions without using try catch f...

its highly imposible to handle exceptions without using try and catch.


 
Is this answer useful? Yes | No
October 31, 2006 03:54:15   #3  
eran        

RE: How to handle exceptions without using try catch f...
Callbacks: Application.ThreadException + new System.Threading.ThreadExceptionEventHandler(Application_ThreadException); AppDomain.CurrentDomain.UnhandledException + new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
 
Is this answer useful? Yes | No
November 27, 2006 13:31:00   #4  
Sudheer        

RE: How to handle exceptions without using try catch f...

Another way of doing this is using Application Blocks.

U can write the code without try/catch block and yet catch them using application blocks.

Regards

Sudheer.K

9989237627


 
Is this answer useful? Yes | No
January 15, 2007 15:10:02   #5  
Nila        

RE: How to handle exceptions without using try catch f...
You will have to anticipate any possible complications then deal with them accordingly (e.g. division by zero). This is much better if done intelligently because it uses alot less resources than exception handling would.
 
Is this answer useful? Yes | No
January 30, 2007 04:42:15   #6  
Ashish        

RE: How to handle exceptions without using try catch f...
We Can handle exception without using Try/Catch Block in Global. asax file.It can be handled in Application_error event.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape