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 web api‘s in asp.net mvc 4 ?
What is routeconfig.cs in mvc 4?
How does the 'page lifecycle' of asp.net mvc works?
The order of the filters that get executed, if the multiple filters are implemented?
What is the difference between windows vista and .net framework 3.0 ?
what is linq to entities?
How to update one of my table in database at 4pm every day how it is possible?
Explain the request flow in asp.net mvc framework?
Does Tempdata hold the data for other request in ASP.Net MVC?
What are scaffold templates in mvc?
Explain JSON Binding?
Which filter executes first in an asp.net mvc application?
What is .net architecture?
When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?
How can you return string result from Action in ASP.Net MVC?