Re: Attempt for an UNO Undo API

Stephan Bergmann <[email protected]>
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.