ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How do you handle unhandled exceptions in ASP.NET?.
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you handle unhandled exceptions in ASP.NET?.
Answer
# 1
By giving 
Try
{
   any thing u want to give without exception
}

catch
{
     here exception takes
}
 
Is This Answer Correct ?    1 Yes 0 No
Madhu
 
  Re: How do you handle unhandled exceptions in ASP.NET?.
Answer
# 2
try
{
  here u have to write ur code
}
catch (Exception ex)
{
 here if u get any error it was handled by Exception ex
}
 
Is This Answer Correct ?    1 Yes 0 No
S
 
 
 
  Re: How do you handle unhandled exceptions in ASP.NET?.
Answer
# 3
usually we handle exceptions in an appication using try ...
catch block.....If this structured exception too failed (as 
you said the case of unhandled exception)Then we can define 
user defined execeptions by creating a class which inherits 
the application exception.The exception that contained in 
the method of the class will automatically handled by the 
throw new exception statement ,which contains the error 
message.
 
Is This Answer Correct ?    1 Yes 0 No
Raviraj
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Can you edit data in the Repeater control?  3
What is web.config and machine.config ? TCS2
If you have to replicate a set of controls(UI) across a number of web pages, what will you do  1
What is Master Page in Asp.net?  5
Explain the life cycle of an ASP .NET page HCL2
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one  1
How can you provide an alternating color scheme in a Repeater control?  3
if you disable view state of a textbox will it maintain data during postbacks.if yes reason FactorH6
How to Open any web page by clicking any Any ASPControl like (Checkbox,radio button or Button) without calling its event and without going to Siverside code? LG-Soft1
is it possible to use web site without web server from remote place? ABC1
What data type does the Range Validator control support?  3
With out Web.config can we executes the application? Valtech6
How to implement caching? Microsoft1
What is CTE in sql server 2005? Minecode2
Asp.net - How to find last error which occurred? Abacus1
What methods are fired during the page load? Visual-Soft6
What is web.config. How many web.config files can be allowed to use in an application ? Accenture8
Hi please tell me what is ISNOTPOSTBACK,POSTBACK,AUTOPOSTBACK and also the extensions of aspx,asmx,ascx its urgent plz reply me soon....  3
what is webpart? what r the parts in this webpart (zone)  1
Explain autherization levels in .net ?  2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com