docs: public void end(Xid xid, int flags) throws XAException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "end", new Object[]{"XID="+xid, _manager.xaFlagsToString(flags)});
  
          try
          {
              _manager.end(new PersistentTranId(xid), flags);
  
              // Reset our instance variables.
              _currentTran = null;
              _currentPtid = null;
          }
          catch (XidUnknownException xue)
          {
              com.ibm.ws.ffdc.FFDCFilter.processException(xue, "com.ibm.ws.sib.msgstore.transactions.MSDelegatingXAResource.end", "1:375:1.51.1.7", this);
              if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) SibTr.event(this, tc, "Cannot dis-associate from this Xid. It is unknown!", xue);
              if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "end");
              XAException xaException = new XAException(XAException.XAER_NOTA);
              xaException.initCause(xue);
              throw xaException;
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "end");
      }