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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain why it is useful to use mvc instead of webforms? : asp.net mvc

823


What is the namespace to create thread in .net?

733


What is the file through which you can customize your asp.net application?

797


Is it possible to change the index of primary key on table?

648


Differentiate between file-based dependency and key-based dependency.

754


What are the events in a page life cycle?

740


What is the procedure to handle the process request using mhpm events fired? : asp.net mvc

790


Web API uses which library for JSON serialization?

795


Explain what are webservices?

753


Is asp.net a language?

727


What is the use of express session?

754


What is a user session?

715


Does google crawl redirects?

734


Why asp.net mvc is better than asp.net? : Asp.Net MVC

711


What are the major built-in objects in ASP.NET?

846