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 use resume in error handling i.e. in the catch block

Answer Posted / mms zubeir

I believe the question is not properly formed, am I right?

The question could be: Can we resume the execution from
where the exception is thrown?

The answer can be Yes** and No*.

* - By using C++ try/catch mechanism we cannot resume back
because of the stack unwinding happens.

** - By using structured exception handling of Win32, we
can resume.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How java is different from c and c++?

1204


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

972


What is singleton pattern in c++?

999


Why c++ does not have finally?

1085


Why c++ is not a pure oop language?

1051


Should I learn c or c++ or c#?

1011


What is the use of volatile variable?

1089


Can you write a function similar to printf()?

1132


Is c++ a high level language?

1008


What is an undefined reference/unresolved external symbol error and how do I fix it?

1124


Explain how an exception handler is defined and invoked in a Program.

1180


How we can differentiate between a pre and post increment operators during overloading?

1107


Describe protected access specifiers?

1235


How does java differ from c and c++?

1004


Can I learn c++ in a week?

1078