[josm-dev] [PATCH 04/26] make Commands able to fail

Frederik Ramm frederik at remote.org
Tue Apr 29 14:28:08 BST 2008


> Make SequenceCommand able to do rollbacks
> 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?


Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"

More information about the josm-dev mailing list