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 is skin in asp.net?

511


How does asp net store session ids by default?

532


Can we make activex dll also ti execute in some process as that of client ? How can we do?

4246


Explain about asp.net caching?

575


How can we implement a identity (sql server) call in an asp.net page?

550






What is the use of placeholder control?

548


About CLR, reflection and assemblies?

1539


How you can stop the validation of ASP.NET controls from client side?

528


What is enableviewstate in asp net?

525


Define a multilingual website?

530


What is the function of the ViewState property?

634


Define resource files.

561


Is asp.net and .net same?

539


How can you implement the postback property of an asp.net control?

527


Name some asp objects?

545