code: public void rollback(Xid xid) throws XAException
     {
        try
        {
           cl.getManagedConnection().getLocalTransaction().rollback();
        }
        catch (ResourceException re)
        {
           connectionManager.returnConnectionListener(cl, true);
           throw new LocalXAException("rollback", XAException.XAER_RMERR, re);
        }
     }
docs: {@inheritDoc}