docs: @Override
      public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "commit (SPI)");
  
          try {
              processCommit();
          } catch (HeuristicHazardException hhe) {
              // Only throw heuristic hazard in the one phase case
              // modify the heuristic - note JTA 1.0.1 errata implies this may be reconsidered one day
              final HeuristicMixedException hme = new HeuristicMixedException(hhe.getLocalizedMessage());
              hme.initCause(hhe.getCause()); //Set the cause to be the cause of the HeuristicHazardException
              if (tc.isEntryEnabled())
                  Tr.exit(tc, "commit", hme);
              throw hme;
          } finally {
              if (tc.isEntryEnabled())
                  Tr.exit(tc, "commit (SPI)");
          }
      }