docs: public synchronized void addWork(WorkItem item) throws ProtocolException, TransactionException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "addWork", "WorkItem="+item);
  
          if (_currentTran != null)
          {
              _currentTran.addWork(item);
          }
          else
          {
              ProtocolException pe = new ProtocolException("TRAN_PROTOCOL_ERROR_SIMS1001");
              if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) SibTr.event(this, tc, "No Xid currently associated with this XAResource!", pe);
              if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "addWork");
              throw pe;
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "addWork");
      }