mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
- fix for the client caching code (cache is flushed after modifications rather than removing only the changed entry) The code was submitted by Jeff Costlow <j.costlow@f5.com> under the following terms: Copyright 2002, F5 Networks, Inc, All rights reserved. This software is not subject to any license of F5 Networks. This is free software; you can redistribute and use it under the same terms as OpenLDAP itself.
42 lines
926 B
C++
42 lines
926 B
C++
/*
|
|
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
*/
|
|
|
|
|
|
#ifndef LDAP_REFERRAL_EXCEPTION_H
|
|
#define LDAP_REFERRAL_EXCEPTION_H
|
|
|
|
#include <list>
|
|
#include <LDAPMessage.h>
|
|
#include <LDAPUrlList.h>
|
|
|
|
class LDAPUrlList;
|
|
|
|
/**
|
|
* This class extends LDAPException and is used to signalize Referrals
|
|
* there were received during synchronous LDAP-operations
|
|
*/
|
|
class LDAPReferralException : public LDAPException{
|
|
|
|
public :
|
|
/**
|
|
* Creates an object that is initialized with a list of URLs
|
|
*/
|
|
LDAPReferralException(const LDAPUrlList& urls);
|
|
|
|
/**
|
|
* Destructor
|
|
*/
|
|
~LDAPReferralException();
|
|
|
|
/**
|
|
* @return The List of URLs of the Referral/Search Reference
|
|
*/
|
|
const LDAPUrlList& getUrls();
|
|
|
|
private :
|
|
LDAPUrlList m_urlList;
|
|
};
|
|
|
|
#endif //LDAP_REFERRAL_EXCEPTION_H
|