9899100101102103104105106107108
while (true) { commandState.capture(testCommand); try { testCommand.execute(commandState); } catch (TerminatedApplicationException e) { break; } }
979899100101102103104105106107