If you are using components in your application, how can you
handle exceptions raised in a component ?
Answer Posted / lucky
try {
// UR code
}
catch(Exception exMsg)
{
}
catch(ApplicationException exAppMsg)
{
}
by this u can get any type of error messages, if ur component have implemented with throwing Application or Throw Exception, those will come to u, where u r calling.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is the meaning of unobtrusive javascript? Explain us by any practical example.
what is scalar property?
Why should we go for entity framework?
Explain what is asp.net mvc?
Which version of .net framework is installed?
When will the .net framework 3.0 be released?
What are ajax helpers in asp.net mvc?
How to make sure Client Validation is enabled in ASP.Net MVC
Which are the important namespaces used in ASP.Net MVC?
What is a model in programming?
How the ‘page lifecycle’ of ASP.Net MVC does works?
My organization went through the approval process of supporting the .net framework 2.0 in production. Do we need to go through the same process all over again for the .net framework 3.0? Do I need to do any application compatibility testing for my .net framework 2.0 applications?
What is objectset? : Entity framework
How to return the JSON from action method in ASP.Net MVC?
How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?