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...

Hi,
Requirement is:
try
{
\\SQL Query
}
catch(Exception i)
{
print a
}
catch(SQLQueryException e)
{
\\SQL Query
}
Got Exception in "try" block. Which "catch" throws
exception and Why???

Please provide the answer in detail..

Thanks for the help!!!

Answer Posted / kaushik

catch(SQLQueryException e)
{
\\SQL Query
}
would throw exception as a try can have more than one catch
block that the related exception can be handled individually

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me about secure socket layer? How to make use of the technology?

983


Do you know what is lambda expressions in c#?

1071


How to use datagrid value in select statements where condition ,if cell is hyperlink bounded column?

999


How to load a user control dynamically in runtime?

1057


Explain the purpose of Remoting in .NET?

1141


Is there built-in support for tracing?

1035


How is meant by dll in .net?

1037


Dynamic Fonts

1939


What is UDDI and how to register the web service in it?

1206


Why SOAP is required?

1219


What is the transport protocol you use to call a seb service soap?

996


Explain how to load the contents of an xml file into an xmldocument object?

988


What is a garbage collector?

1130


How does u handle this COM components developed in other programming languages in .NET?

2128


What is the difference between odbc and ado?

1213