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 a model in programming?
What you mean by routing in mvc?
What is difference between html.beginform and ajax.beginform?
How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?
differences between poco, model first and data first approach?
What are the advantages of mvc over asp.net?
What is .net core framework?
What is the difference between viewbag and viewdata in mvc?
How does the .net framework 3.0 relate to the .net framework 2.0?
Explain the 'page lifecycle' of an ASP.NET MVC?
What is disconnected scenario? : Entity framework
Can we change web.config settings from iis?
Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )
Explain how you can send the result back in JSON format in MVC?
What are the options can be configured in AJAX helpers?