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

How is meant by dll in .net?

982


What is the use of Treeview control?

1054


Explain what is a manifest in .net?

953


Will my .net app run on 64-bit windows?

1023


What does cil do?

952


What is a design pattern and what is it for?

999


What is the difference between imperative and interrogative code?

1991


What are nullable types in .NET

1095


Explain me what is encapsulation?

997


When a Static Constructor called in .NET?

1021


Please explain what is the .net framework and how does it work?

900


In code behind class, name the type of code found. Is it the server side code or client side code?

1252


Explain what is an anonymous method and how is it different from a lambda expression?

889


State the various features present in .NET?

991


Explain why do we use msmq?

937