...
A simple compliant solution is to catch any exceptions thrown by foo{}
Code Block | ||
---|---|---|
| ||
void bar() throw (exception1) { try { foo(); } catch (...) { // handle error, without re-throwing it } } |
...
...
A simple compliant solution is to catch any exceptions thrown by foo{}
Code Block | ||
---|---|---|
| ||
void bar() throw (exception1) { try { foo(); } catch (...) { // handle error, without re-throwing it } } |
...