Question

how can I re-throw an exception caught by

catch(...)

block?

Was it helpful?

Solution

throw with no operand rethrows the "current exception".

OTHER TIPS

This is how.

catch(...) { throw; }

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top