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


Please Help Members By Posting Answers For Below Questions

What are Action Methods in ASP.NET MVC?

806


Which .net framework is installed?

697


What is the role of the jit compiler in .net framework?

842


What are bundling & minification features in asp.net mvc 4?

740


What is Area in ASP.Net MVC?

818


mention what is the difference between ado.net and classic ado?

766


Asp.net mvc application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?

850


I want ask from plz smaple example code for Biztalkk server

1928


Define the core components of an ASP.NET MVC application?

783


Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?

766


What is the difference between entity framework and mvc?

737


Explain the new features 3.5 framework against with the tool?

697


Which is the root namespace for fundamental types in .net framework?

762


What is iobjectset? : Entity framework

766


Is mvc 4 supporting windows azure sdk (software development kit) ?

759