On 10/27/10 10:14, Frank Schönheit wrote:
In reacting on the error during Undo, I don't see a real difference
between "Exception" and a specific "UndoFailedException". However, in
using the API, and maybe propagating exceptions up the stack, a specific
exception is slightly better for knowing what went wrong than a generic
one, I'd say.

A specific exception can be much better than only slightly better here, if you give it useful semantics. (The semantics of a generic exception being that the program is in an unknown state.)

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to