begin My_Recovery_Cache.Save(...); for Try in Module loop begin case Try is when Primary => T1_Primary; return; when Secondary => T1_Secondary; return; when Tertiary => T1_Tertiary; end case; exception when Primary_Failure => My_Recovery_Cache.Restore(…); when Secondary_Failure => Recovery_Cache.Restore(…); when Tertiary_Failure => Recovery_Cache.Restore(…); raise Atomic_Action_Failure; when others => Recovery_Cache.Restore(…); raise Atomic_Action_Failure; end; end loop; end T1_Part; end Conversation; similarly for T2 and T3