Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you handle unhandled exceptions in ASP.NET?.

Answers were Sorted based on User's Feedback



How do you handle unhandled exceptions in ASP.NET?...

Answer / madhu

By giving
Try
{
any thing u want to give without exception
}

catch
{
here exception takes
}

Is This Answer Correct ?    1 Yes 0 No

How do you handle unhandled exceptions in ASP.NET?...

Answer / s

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

How do you handle unhandled exceptions in ASP.NET?...

Answer / raviraj

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

Post New Answer

More ASP.NET Interview Questions

What is data caching?

0 Answers  


Explain the different parts that constitute ASP.NET application?

0 Answers   B-Ways TecnoSoft,


Define state managenent?Descibe state managenent technique which maintain the information at server site focusing it IDS features and limitations?

1 Answers  


What type of code (server or client) is found in a Code- Behind class?

2 Answers  


Is it necessary to create a Windows application or Web application to test a Web service ? Is it must to consume this service?

2 Answers   Siebel,


What are themes and skins in 2.0, explain usage scenario?

0 Answers  


What is a postback url?

0 Answers  


If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?

0 Answers   DELL,


What is JIT, what are types of JITS and their purpose ?

3 Answers   Infosys,


Describe the difference between inline and code behind.

5 Answers   Siebel Systems,


What is asp.net architecture?

0 Answers  


What is a Metadata?

3 Answers  


Categories