Does throw inside a catch ellipsis (...) rethrow the original error?
Posted
by WilliamKF
on Stack Overflow
See other posts from Stack Overflow
or by WilliamKF
Published on 2010-03-19T01:22:44Z
Indexed on
2010/03/19
1:31 UTC
Read the original article
Hit count: 303
If in my code I do the following snippet:
try {
doSomething();
} catch (...) {
doSomethingElse();
throw;
}
Will the throw rethrow the specific exception caught by the default ellipsis handler?
© Stack Overflow or respective owner