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

what are the ihttphandler and ihttphandlerfactory interfaces ?

732


What is difference between view state and session state?

677


Elaborate differentiation between ViewState and SessionState?

856


What is difference between session and cookies in asp net?

742


How do we sort the data from a dataset?

769


What is redirecting behavior?

729


What is event bubbling?

793


What is difference between inproc and outproc?

897


What websites use asp.net?

738


Differentiate between client-side and server-side validations in web pages.

774


What is the use of global.asax file?

770


9. Why should we hire you over the others waiting to be interviewed?

2470


Which of the following .NET framework supports Web API?

857


How to find last error which occurred in Asp.net ?

944


What is the difference between a default skin and a named skin?

826