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

How to throw an caught exception from cath block?

Answer Posted / lonesloane

try{
// code that throws exception
}
catch(Exception ex){
// Do whatever needed with exception
Console.Writeline(ex.Message);
throw; <== will re-throw the caught exception
}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain About Virtual functions and their use.

1027


How to install or uninstall a windows service?

1030


Does constructor return any value in c#?

951


how encapsulation is implemented in c#

1086


What is the use of ispostback in c#?

882


Explain about c# language.

1055


What is difference between gridview and form view?

1010


Which property of the textbox cannot be changed at runtime?

949


What is wcf c#?

945


What is the function of the not null constraint?

942


What is a helper method in c#?

933


What is a int in c#?

882


explain the three services model commonly know as a three-tier application.

987


What is token in c#?

979


What is difference between assembly and dll?

971