2 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
7 #ifndef LDAP_REFERRAL_EXCEPTION_H
8 #define LDAP_REFERRAL_EXCEPTION_H
11 #include <LDAPMessage.h>
12 #include <LDAPUrlList.h>
17 * This class extends LDAPException and is used to signalize Referrals
18 * there were received during synchronous LDAP-operations
20 class LDAPReferralException : public LDAPException{
24 * Creates an object that is initialized with a list of URLs
26 LDAPReferralException(const LDAPUrlList& urls);
31 ~LDAPReferralException();
34 * @return The List of URLs of the Referral/Search Reference
36 const LDAPUrlList& getUrls();
39 LDAPUrlList m_urlList;
42 #endif //LDAP_REFERRAL_EXCEPTION_H