[API] Some more cleanup ideas
Stephan Bergmann
sbergman at redhat.com
Fri Dec 7 01:11:06 PST 2012
On 12/06/2012 07:51 PM, Thorsten Behrens wrote:
> For large parts of UNO, making one not violate the exception
> specification, would look like this:
>
> try {
> <functions>
> } catch(...) {
> throw uno::RuntimeException("Arrgh! General $FOO error!!1!");
> }
>
> That is not what I would call error handling.
But that problem would not be solved just by removing dynamic exception
specifications from C++ code.
Stephan
More information about the LibreOffice
mailing list