code: public void rollback() throws IllegalStateException,
                                   SecurityException,
                                   SystemException
     {
        Transaction tx = registry.getTransaction();
  
        if (tx == null)
           throw new IllegalStateException();
  
        registry.rollbackTransaction();
     }
docs: {@inheritDoc}