8 #ifndef LDAP_EXCEPTION_H 9 #define LDAP_EXCEPTION_H 34 const std::string& err_string=std::string())
throw();
66 virtual const char*
what()
const throw();
76 std::string m_res_string;
77 std::string m_err_string;
107 #endif //LDAP_EXCEPTION_H friend std::ostream & operator<<(std::ostream &s, LDAPException e)
This method can be used to dump the data of a LDAPResult-Object.
This class is only thrown as an Exception and used to signalize error conditions during LDAP-operatio...
Definition: LDAPException.h:23
~LDAPReferralException()
Destructor.
Definition: LDAPException.cpp:88
This class represents an asynchronous connection to an LDAP-Server.
Definition: LDAPAsynConnection.h:45
This container class is used to store multiple LDAPUrl-objects.
Definition: LDAPUrlList.h:16
virtual ~LDAPException()
Destructor.
Definition: LDAPException.cpp:49
LDAPException(int res_code, const std::string &err_string=std::string())
Constructs a LDAPException-object from the parameters.
const std::string & getResultMsg() const
Definition: LDAPException.cpp:58
LDAPReferralException(const LDAPUrlList &urls)
Creates an object that is initialized with a list of URLs.
Definition: LDAPException.cpp:83
const std::string & getServerMsg() const
Definition: LDAPException.cpp:63
const LDAPUrlList & getUrls()
Definition: LDAPException.cpp:92
int getResultCode() const
Definition: LDAPException.cpp:53
This class extends LDAPException and is used to signalize Referrals there were received during synchr...
Definition: LDAPException.h:84
virtual const char * what() const
Definition: LDAPException.cpp:68