[josm-dev] [PATCH 04/26] make Commands able to fail
Frederik Ramm
frederik at remote.org
Tue Apr 29 14:28:08 BST 2008
Hi,
> DESC
> Make SequenceCommand able to do rollbacks
> EDESC
> If one command in a sequence fails, we can roll back all the
> previously successful ones.
Why would a command ever fail?
In understanding, a command can only fail if there's a programming
error in JOSM. Even so it is, of course, a good thing to handle that
gracefully rather than just throw an exception. - But are your
patches introducing commands that may fail for other reasons than
programming errors?
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the josm-dev
mailing list