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

What is Cookies Less Session?

989


Explain Features in ASP.NET

1042


What is the difference between GridView and Repeater controls in ASP.NET?

1026


Is there any property names “isnavigating”?

982


Explain the steps needed to be performed in order to create an animation in xaml?

961


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

1009


What are the Types of authentications in IIS

1001


How you can access the values from the Repeater control in ASP.NET?

1021


Can we use html in asp.net?

875


Who is using asp.net?

900


What are the advantages of using Master Pages?

976


What I need to create and run an asp.net application?

931


Why is the standalone environment only useful during the development process?

1768


What are the benefits of Razor View?

911


What is the use of session in web application?

905