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
In which assembly is the mvc framework defined?
Explain the advantage of packaging over xcopy in .net?
How to Create an Intranet Site Using ASP.NET MVC?
What is Dependency Injection in ASP.Net MVC
What are the sub types of ActionResult?
explain what is ado.net entity framework?
What is .net framework used for?
What is the significance of nonactionattribute?
mention what is the key advantage of using entity framework or ef?
What are the two ways to add constraints to a route?
Is it possible to share a view across multiple controllers?
What is the difference between model view and controller?
What is routeconfig.cs in mvc 4?
Is entity framework slow?
Explain what is asp.net mvc?