How do you handle unhandled exceptions in ASP.NET?.
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is data caching?
Explain the different parts that constitute ASP.NET application?
Define state managenent?Descibe state managenent technique which maintain the information at server site focusing it IDS features and limitations?
What type of code (server or client) is found in a Code- Behind class?
Is it necessary to create a Windows application or Web application to test a Web service ? Is it must to consume this service?
What are themes and skins in 2.0, explain usage scenario?
What is a postback url?
If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?
What is JIT, what are types of JITS and their purpose ?
Describe the difference between inline and code behind.
What is asp.net architecture?
What is a Metadata?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)