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 does a viewmodel do?
Explain what is the difference between view and partial view?
What is entitytype? : Entity framework
How to change the action name in mvc?
How to make sure Client Validation is enabled in ASP.Net MVC
Difference between ASP.NET MVC and ASP.NET WebForms?
what do you mean by table-per-type?
Can you explain model, controller and view in mvc?
what is csdl?
What are the 2 ways of adding constraints to a route?
What is rxjava used for?
What is the use of the default route?
Is the following route definition a valid route definition? {controller}{action}/{id}
How does servicing work for the .net framework 3.0?
What is .net core framework?