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
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to