public void registerSynchronization(Synchronization sync) throws RollbackException,
                                                                    IllegalStateException,
                                                                    SystemException
   {
      if (status == Status.STATUS_UNKNOWN)
         throw new IllegalStateException("Status unknown");

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