#include <LDAPException.h>

Public Member Functions | |
| LDAPException (int res_code, const std::string &err_string=std::string()) throw () | |
| Constructs a LDAPException-object from the parameters. | |
| LDAPException (const LDAPAsynConnection *lc) throw () | |
| Constructs a LDAPException-object from the error state of a LDAPAsynConnection-object. | |
| virtual | ~LDAPException () throw () |
| Destructor. | |
| int | getResultCode () const throw () |
| const std::string & | getResultMsg () const throw () |
| const std::string & | getServerMsg () const throw () |
| virtual const char * | what () const throw () |
Friends | |
| std::ostream & | operator<< (std::ostream &s, LDAPException e) throw () |
| This method can be used to dump the data of a LDAPResult-Object. | |
| LDAPException::LDAPException | ( | int | res_code, | |
| const std::string & | err_string = std::string() | |||
| ) | throw () |
Constructs a LDAPException-object from the parameters.
| res_code | A valid LDAP result code. | |
| err_string | An addional error message for the error that happend (optional) |
| LDAPException::LDAPException | ( | const LDAPAsynConnection * | lc | ) | throw () |
Constructs a LDAPException-object from the error state of a LDAPAsynConnection-object.
| lc | A LDAP-Connection for that an error has happend. The Constructor tries to read its error state. |
| LDAPException::~LDAPException | ( | ) | throw () [virtual] |
Destructor.
| int LDAPException::getResultCode | ( | ) | const throw () |
| const string & LDAPException::getResultMsg | ( | ) | const throw () |
| const string & LDAPException::getServerMsg | ( | ) | const throw () |
| const char * LDAPException::what | ( | ) | const throw () [virtual] |
| std::ostream& operator<< | ( | std::ostream & | s, | |
| LDAPException | e | |||
| ) | throw () [friend] |
This method can be used to dump the data of a LDAPResult-Object.
It is only useful for debugging purposes at the moment
1.5.6