docs: @Override
     public void setRollbackOnly() throws IllegalStateException, SystemException {
        Transaction tx = getTransaction();
        if (tx == null)
           throw new IllegalStateException("no transaction associated with calling thread");
        tx.setRollbackOnly();
     }