/** * Parses the provided string as a search filter. * * @param s The string to be parsed. * * @return The parsed filter. * * @throws LDAPSearchException If the provided string could not be parsed as * a valid search filter. */ private static Filter parseFilter(final String s) throws LDAPSearchException { try { return Filter.create(s); } catch (final LDAPException le) { throw new LDAPSearchException(le); } }
/** * Parses the provided string as a {@code Filter} object. * * @param filterString The string to parse as a {@code Filter}. * * @return The parsed {@code Filter}. * * @throws LDAPSearchException If the provided string does not represent a * valid search filter. */ private static Filter parseFilter(final String filterString) throws LDAPSearchException { try { return Filter.create(filterString); } catch (final LDAPException le) { debugException(le); throw new LDAPSearchException(le); } }
/** * Parses the provided string as a {@code Filter} object. * * @param filterString The string to parse as a {@code Filter}. * * @return The parsed {@code Filter}. * * @throws LDAPSearchException If the provided string does not represent a * valid search filter. */ private static Filter parseFilter(final String filterString) throws LDAPSearchException { try { return Filter.create(filterString); } catch (final LDAPException le) { debugException(le); throw new LDAPSearchException(le); } }
/** * {@inheritDoc} This is intended for internal use only and should not be * called by anything outside of the LDAP SDK itself. */ @InternalUseOnly() public void searchResultReceived(final AsyncRequestID requestID, final SearchResult searchResult) { this.searchResult.set(searchResult); if (! searchResult.getResultCode().equals(ResultCode.SUCCESS)) { addToQueue(new EntrySourceException(false, new LDAPSearchException(searchResult))); } closeInternal(false); }
lse = new LDAPSearchException((LDAPException) t); throw new LDAPSearchException(ResultCode.LOCAL_ERROR, ERR_POOL_OP_EXCEPTION.get(getExceptionMessage(t)), t);
lse = new LDAPSearchException((LDAPException) t); throw new LDAPSearchException(ResultCode.LOCAL_ERROR, ERR_POOL_OP_EXCEPTION.get(getExceptionMessage(t)), t);
throw new LDAPSearchException(le); throw new LDAPSearchException(searchResult);
throw new LDAPSearchException(le); throw new LDAPSearchException(searchResult);
throw new LDAPSearchException(le); throw new LDAPSearchException(le);
throw new LDAPSearchException(le); throw new LDAPSearchException(le);
throw new LDAPSearchException(le); throw new LDAPSearchException(le);