ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net Framework
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
If you are using components in your application, how can you
handle exceptions raised in a component ?
 Question Submitted By :: Pranab Mukherjee
I also faced this Question!!     Rank Answer Posted By  
 
  Re: If you are using components in your application, how can you handle exceptions raised in a component ?
Answer
# 1
I think for simple Handling of Exceptions, we keep 
TRY,Catch Block and catch the exception and handle those 
ones.
 
Is This Answer Correct ?    5 Yes 3 No
Saikiran
 
  Re: If you are using components in your application, how can you handle exceptions raised in a component ?
Answer
# 2
use throw and catch to handle exception from component
 
Is This Answer Correct ?    1 Yes 3 No
Karthik
 
 
 
  Re: If you are using components in your application, how can you handle exceptions raised in a component ?
Answer
# 3
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 ?    1 Yes 0 No
Parag
 

 
 
 
Other Dot Net Framework Interview Questions
 
  Question Asked @ Answers
 
what are partial classes? HP11
Tell me about the internal working of Garbage collector? Honeywell2
If we write return statement in finally block will it works fine or throws any error? Kanbay5
Can you draw and explain the .NET Farmework? Bosch2
Difference between manifest , metadata? TCS3
how to maintain the session state? what is Abstract class and interface and inheritence with example?  2
If you are using components in your application, how can you handle exceptions raised in a component ? Accenture3
Which is the best institute in hyderabad to learn DotNet? Infosys73
If Controller is not there in MVC Pattern what happens?  1
js fn to go to the particular page when enter is clicked  1
About DTS package ? Accenture1
what is MetadData?. What is CTS? Type of Join in SQL Server? What is diffrence between Primary Key and Unique Key? FutureSoft4
what is the diff b/w asp.net 2.0 & 3.5  2
What is different between User Control and Web Control and Custom Control?  1
what are the different stepts to create shared assemblies?  1
More on CLR ? MMTS2
if u add an import stmt to an application u can do the same by adding reference to the apllication then what is the diff bet these two ?  1
Integer & struct are value types or reference types in .NET?  2
What is the necessity for singning an assembly with a strong name? L&T1
What is namespace used for loading assemblies at run time and name the methods?  2
 
For more Dot Net Framework Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com