Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » CommandStack is updated even the command is failed
CommandStack is updated even the command is failed [message #185130] Wed, 22 June 2005 23:19
Eclipse UserFriend
Originally posted by: kevinlouisnospam.hotmail.com

Hi,

Why don't the execute, redo and undo function in the Command class throws
exception so the CommandStack can catch it and don't update the redo/undo
stack? Should the command stack be updated when the command fails?

Currently, I just throw RunTimeException in those functions.

Thanks,

Kevin
Previous Topic:Problems implementing a layout
Next Topic:Bendpoint problem and the problem about trigger "Save" function on dialog
Goto Forum:
  


Current Time: Fri Dec 27 00:18:22 GMT 2024

Powered by FUDForum. Page generated in 0.03824 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top