code: public static void resume(Transaction transaction)
     {
        try {
           transactionManager.resume(transaction);
        }
        catch (Exception e) {
           throw new RuntimeException("Unable to resume transaction", e);
        }
     }
docs: Resume the specified transaction.  If the transaction was never suspended, or was
  already committed or rolled back, a RuntimeException will be thrown wrapping the
  JTA originated exception.
  
  @param transaction the Transaction to resume