setTransactionSuccessful

Mark the current transaction as successful.

Throws

if the transaction cannot be marked as successful.