Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (anonymous):

What is the name of all exception handlers in C + +? How is bound to the exception handlers in C + +?

OpenStudy (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!)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!