Rethrowing Exceptions
In Java, a catch clause can rethrow an exception.
try { // Java rethrow exception example // ...
catch (exception e) { // perform some action throw e; // resend exception
C++ allows simply an unadorned throw statement, which is interpreted to throw the same value as the current catch clause.