Re: Attempt for an UNO Undo API

Ingrid Halama <[email protected]>
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
Hi Frank,

Frank Schönheit wrote:
> 
> For the moment, I declared an UndoFailedException, derived from
> css.uno.Exception, and let undo/redo throw it. Still an euphemism for
> "anything can go wrong", though, so I am not that happy with it ...

I think a new UndoFailedException is better than css.uno.Exception. A 
client can react on this with a small cleanup of whatever UndoStack 
related doings and than proceed further. While catching a 
css.uno.Exception the proper reaction is much more unclear. Maybe it is 
necessary to quit the whole process?

Kind regards,
Ingrid
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.