# FTTransactionUndoStack

## Abstract

For internal use. It stores steps which may have to perform an "undo"

## Methods

`-addPerformedStep:`
  Adds a step which has been performed and which may have to be run via an "undo".
`-undoAll`
  runs an "undo" for all steps being added

### addPerformedStep:

Adds a step which has been performed and which may have to be run via an "undo".

>     - addPerformedStep: (FTTransactionStepAndContext *) stepToAdd;

##### Parameter Descriptions

> `stepToAdd`
>   step to tadd

method result
  self

### undoAll

runs an "undo" for all steps being added

>     - undoAll;

method result
  self

##### Discussion

Note that this implementation throughs any exception a step throughs. This means that it will simply interrupts the undo operation

/> TODO: This very simple behaviour should at least through an exception which gives additional information about the undo process and which wraps the original exception.

(Last Updated August 27, 2006)