views:

78

answers:

2

Hi,

how can I re-throw an exception caught by

catch(...)

block?

+8  A: 

throw with no operand rethrows the "current exception".

Steve Jessop
+1  A: 

This is how.

catch(...) { throw; }

Manoj R