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

Can we throw exception from catch block ?

Answer Posted / nilesh

Yes. A throw statement can be used in the catch block to re-
throw the exception, which has been caught by the catch
statement. For example:

catch (InvalidCastException e)
{
throw (e); // Rethrowing exception e
}

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Web API supports which protocol?

1333


Can I have a unique key as foreign key?

925


Differentiate between early binding and late binding.

1040


What is difference between viewstate and session in asp net?

1004


Which method do you use to enforce garbage collection in .net?

919


Can any body provide me the sample web application in asp.net

1926


Can one dll file contains the compiled code of more than one .net language?

970


To wrap up a call to a Web service the standard used is..?

940


What is Pre-Render event in ASP.NET?

1081


Explain the page lifecycle of an asp.net mvc? : asp.net mvc

831


Explain advantages of caching?

891


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

999


Differentiate between client-side and server-side validations in web pages.

986


Where is session cookies stored?

927


What is syntax code to send email from an asp.net application?

982