• anonymous
What is the name of all exception handlers in C + +? How is bound to the exception handlers in C + +?
Computer Science
  • Stacey Warren - Expert
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
  • jamiebookeater
I got my questions answered at in under 10 minutes. Go to now for free help!
  • anonymous
Not 100% sure what you're asking, but if you want to know how to catch any given exception in C++ (the equivalent of catch(Exception e) in Java, for example), the way to do this would be: try { // your code goes in here, which may contain several 'throw' statements. } catch(...) // Note: I haven't 'skipped' code here: the '...' actually is the parameter. { // a generic warning message that can be applied to any caught exception. } (Hope that's what you were asking for!)

Looking for something else?

Not the answer you are looking for? Search for more explanations.