private void returnEntryNotInSpaceError(Context context,ITemplateHolder template,EntryDeletedException edx,boolean makeWaitForInfo){
  EntryNotInSpaceException exv=new EntryNotInSpaceException(template.getUidToOperateBy(),getFullSpaceName(),(edx != null && edx.deletedByOwnTxn()));
  ILockObject templateLock=null;
  try {
    if (template.isInCache() || makeWaitForInfo) {
      templateLock=getTemplateLockObject(template);
synchronized (templateLock) {
        if (!template.isDeleted()) {
          context.setOperationAnswer(template,null,exv);
          if (template.isInCache())           _cacheManager.removeTemplate(context,template,false,true,false);
        }
      }
    }
 else {
      context.setOperationAnswer(template,null,exv);
      template.setDeleted(true);
    }
  }
  finally {
    if (templateLock != null)     freeTemplateLockObject(templateLock);
  }
}

private void returnEntryNotInSpaceError ( Context context , ITemplateHolder template , EntryDeletedException edx , boolean makeWaitForInfo ) { EntryNotInSpaceException exv = new EntryNotInSpaceException ( template . getUidToOperateBy ( ) , getFullSpaceName ( ) , ( edx != null && edx . deletedByOwnTxn ( ) ) ) ; ILockObject templateLock = null ; try { if ( template . isInCache ( ) || makeWaitForInfo ) { templateLock = getTemplateLockObject ( template ) ; synchronized ( templateLock ) { if ( ! template . isDeleted ( ) ) { context . setOperationAnswer ( template , null , exv ) ; if ( template . isInCache ( ) ) _cacheManager . removeTemplate ( context , template , false , true , false ) ; } } } else { context . setOperationAnswer ( template , null , exv ) ; template . setDeleted ( true ) ; } } finally { if ( templateLock != null ) freeTemplateLockObject ( templateLock ) ; } }
notify the use ( of a by - uid operation ) that the requested entry is not in space .
