00001 /* 00002 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. 00003 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file 00004 */ 00005 00006 00007 #ifndef LDAP_REFERRAL_EXCEPTION_H 00008 #define LDAP_REFERRAL_EXCEPTION_H 00009 00010 #include <list> 00011 #include <LDAPMessage.h> 00012 #include <LDAPUrlList.h> 00013 00014 class LDAPUrlList; 00015 00020 class LDAPReferralException : public LDAPException{ 00021 00022 public : 00026 LDAPReferralException(const LDAPUrlList& urls); 00027 00031 ~LDAPReferralException(); 00032 00036 const LDAPUrlList& getUrls(); 00037 00038 private : 00039 LDAPUrlList m_urlList; 00040 }; 00041 00042 #endif //LDAP_REFERRAL_EXCEPTION_H