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
What is enableviewstate?
What is session mode in asp.net?
What can we do with asp.net?
What is the asp.net mvc folder conventions? : asp.net mvc
Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?
Where the assembly is stored in asp.net?
Explain the use of view state?
WSDL means?
What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?
What is httpresponse?
If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?
Explain the differences between clr & cts?
Difference between web user control and web custom control?
How do you sign out from forms authentication?