docs: @Override
     public void rollback() throws IllegalStateException, SecurityException,
                                   SystemException {
        Transaction tx = getTransaction();
        if (tx == null)
           throw new IllegalStateException("no transaction associated with thread");
        tx.rollback();
  
        // Disassociate tx from thread.
        setTransaction(null);
     }