code: public void registerSynchronization(Synchronization sync) throws RollbackException,
                                                                      IllegalStateException,
                                                                      SystemException
     {
        if (status == Status.STATUS_UNKNOWN)
           throw new IllegalStateException("Status unknown");
  
        syncs.add(sync);
     }
docs: {@inheritDoc}