package com.l7tech.server.search.processors;

import com.l7tech.objectmodel.FindException;
import com.l7tech.policy.GenericEntity;
import com.l7tech.util.Functions.UnaryThrows;

class aa implements UnaryThrows<DependencyFinder.FindResults<GenericEntity>, DependencyFinder.FindResults<GenericEntity>, FindException> {
   final GenericEntityDependencyProcessor this$0;

   aa(GenericEntityDependencyProcessor var1) {
      this.this$0 = var1;
   }

   public DependencyFinder.FindResults<GenericEntity> call(DependencyFinder.FindResults<GenericEntity> var1) throws FindException {
      try {
         return var1.hasEntity() ? DependencyFinder.FindResults.create(this.this$0.a((GenericEntity)var1.getEntity()), null) : var1;
      } catch (FindException var2) {
         throw a(var2);
      }
   }

   private static FindException a(FindException var0) {
      return var0;
   }
}
