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 ViewData and TempData in ASP.Net MVC?
Explain Keep method in Tempdata in ASP.Net MVC?
What are Action Filters in ASP.NET MVC and its use?
What are the Core features of ASP.NET MVC?
What is mapping in entity framework? : Entity framework
How can we determine action invoked from HTTP GET or HTTP POST?
Can we add constraints to the route? If yes, explain how we can do it?
Explain the difference between viewbag and viewdata in mvc?
Can you use Razor code in Javascript in ASP.Net MVC?
Can I add asp.net mvc testcases in visual studio express?
How do I use partial view?
Can I set the unlimited length for "maxjsonlength" property in config?
Explain what languages does the .net framework support?
What is entity sql? : Entity framework
Explain the new features added in version 4 of mvc (mvc4)?