Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


If you are using components in your application, how can you
handle exceptions raised in a component ?

Answers were Sorted based on User's Feedback



If you are using components in your application, how can you handle exceptions raised in a componen..

Answer / saikiran

I think for simple Handling of Exceptions, we keep
TRY,Catch Block and catch the exception and handle those
ones.

Is This Answer Correct ?    23 Yes 4 No

If you are using components in your application, how can you handle exceptions raised in a componen..

Answer / parag

A method call in a COM server that has generated an
exception creates an instance of the COM error object using
the ICreateErrorInfo interface. The server then populates
the error object with information about the source and cause
of an error. When program control returns to the COM client,
the client can retrieve the error object, find the
information, and use this information determine how to
handle the error.

Unlike exceptions thrown within a program, COM exceptions do
not stop the flow of execution; instead, a COM error object
is created within the current thread. The error object
supports the IErrorInfo interface, which has methods
allowing the client to get the name of the class and
interface that created the error and a description of the error.

COM defines another interface, ISupportErrorInfo, which is
used to indicate that a class may create a COM error object.
Many ArcObjects classes implement the ISupportErrorInfo
interface.

Is This Answer Correct ?    12 Yes 0 No

If you are using components in your application, how can you handle exceptions raised in a componen..

Answer / 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

If you are using components in your application, how can you handle exceptions raised in a componen..

Answer / karthik

use throw and catch to handle exception from component

Is This Answer Correct ?    2 Yes 8 No

Post New Answer

More Dot Net Framework Interview Questions

What is meant by bootstrap in mvc5?

0 Answers  


What is presentation framework?

0 Answers  


mention in what all scenarios entity framework can be applicable?

0 Answers   Microsoft,


What is an asynchronous controller in asp.net mvc?

0 Answers  


Do I need microsoft .net framework?

0 Answers  


What are scaffold templates in mvc?

0 Answers  


How to Create an Intranet Site Using ASP.NET MVC?

0 Answers  


what are the different stepts to create shared assemblies?

1 Answers  


How do I define my own code group

1 Answers  


What is .net framework in simple terms?

0 Answers  


What does mvvm mean?

0 Answers  


exe abrevatiom

5 Answers   IBM,


Categories