From e4c4a7a02af6859c0bfab49961007745de6d1b83 Mon Sep 17 00:00:00 2001 From: Sarah Simpers <82042374+sarahsimpers@users.noreply.github.com> Date: Tue, 3 Dec 2024 09:44:44 -0500 Subject: [PATCH] (DOCSP-45749) Updates nested important admonitions to unnest (#343) --- source/fundamentals/transactions.txt | 33 +++++++++++++--------------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/source/fundamentals/transactions.txt b/source/fundamentals/transactions.txt index 08b44f64..166b2da6 100644 --- a/source/fundamentals/transactions.txt +++ b/source/fundamentals/transactions.txt @@ -103,15 +103,14 @@ tabs to learn about the methods to manage your transaction: learn more about this method, see the :manual:`withTransaction() page ` in the Server manual. - .. important:: Handling Exceptions - - When catching exceptions within the callback function used by - ``WithTransaction()``, you **must** rethrow the exception before - exiting the try-catch block. Failing to do so can result in an - infinite loop. For further details on how to handle exceptions in this - case, see :manual:`Transactions ` in the Server - manual and select :guilabel:`C#` from the language dropdown to view - the example. + :gold:`IMPORTANT:` When catching exceptions within the + callback function used by + ``WithTransaction()``, you **must** rethrow the exception before + exiting the try-catch block. Failing to do so can result in an + infinite loop. For further details on how to handle exceptions in this + case, see :manual:`Transactions ` in the Server + manual and select :guilabel:`C#` from the language dropdown to view + the example. | | **Parameters**: ``Func >``, ``TransactionOptions``, ``CancellationToken`` @@ -162,15 +161,13 @@ tabs to learn about the methods to manage your transaction: learn more about this method, see the :manual:`withTransaction() page ` in the Server manual. - .. important:: Handling Exceptions - - When catching exceptions within the callback function used by - ``WithTransactionAsync()``, you **must** rethrow the exception - before exiting the try-catch block. Failing to do so can result in an - infinite loop. For further details on how to handle exceptions in this - case, see :manual:`Transactions ` in the Server - manual and select :guilabel:`C#` from the language dropdown to view - the example. + :gold:`IMPORTANT:` When catching exceptions within the callback function used by + ``WithTransactionAsync()``, you **must** rethrow the exception + before exiting the try-catch block. Failing to do so can result in an + infinite loop. For further details on how to handle exceptions in this + case, see :manual:`Transactions ` in the Server + manual and select :guilabel:`C#` from the language dropdown to view + the example. | | **Parameters**: ``Func >``, ``TransactionOptions``, ``CancellationToken``