//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public org.apache.directory.server.core.api.filtering.EntryFilteringCursor search(org.apache.directory.server.core.api.interceptor.context.SearchOperationContext searchContext) throws org.apache.directory.api.ldap.model.exception.LdapException public override EntryFilteringCursor search(SearchOperationContext searchContext) { try { Thread.Sleep(_waitingTimeMillis); } catch (InterruptedException) { Thread.CurrentThread.Interrupt(); } return(base.search(searchContext)); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public org.apache.directory.server.core.api.filtering.EntryFilteringCursor search(org.apache.directory.server.core.api.interceptor.context.SearchOperationContext searchContext) throws org.apache.directory.api.ldap.model.exception.LdapException public override EntryFilteringCursor search(SearchOperationContext searchContext) { throw new LdapOperationErrorException(); }