private List safeLdapSearch(final String base,final String ldapQuery,final SearchControls searchControls,final AttributesMapper mapper){
  ValidationFailureReason[] failureReason=new ValidationFailureReason[1];
  return safeLdapSearch(base,ldapQuery,searchControls,mapper,failureReason);
}

private List safeLdapSearch ( final String base , final String ldapQuery , final SearchControls searchControls , final AttributesMapper mapper ) { ValidationFailureReason [ ] failureReason = new ValidationFailureReason [ 1 ] ; return safeLdapSearch ( base , ldapQuery , searchControls , mapper , failureReason ) ; }
do the ldap search and catch any connection errors . return null for caught exceptions , empty list for empty search result .
