docs: public void end(int endMode) throws InconsistentLocalTranException, RolledbackException,
      IllegalStateException
      {
      	if (tc.isEntryEnabled()) Tr.entry(tc, "end");
  
          if (_resolverIsCAB)
          {
              complete(endMode);
          }
          else
          {
              cleanup();
          }
  
          if (tc.isEntryEnabled()) Tr.exit(tc, "end");
      }