redo
Redoes the next edit or throws an exception if a redo operation is not possible. It's recommended that you check whether a redo operation is available using (canRedo) before calling this method. Redoing may be unavailable if there are no edits on the redo stack or if the latest edit on the redo stack cannot be redone. When redoing an edit, the edit is moved to the internal undo stack.
Throws
Thrown if redo operation was unsuccessful, if the redo stack was empty, or if the last edit is not redoable.