This class is only thrown as an Exception and used to signalize error conditions during LDAP-operations.
More...
#include <LDAPException.h>
List of all members.
Detailed Description
This class is only thrown as an Exception and used to signalize error conditions during LDAP-operations.
Constructor & Destructor Documentation
Constructs a LDAPException-object from the parameters.
- Parameters:
-
res_code | A valid LDAP result code. |
err_string | An addional error message for the error that happend (optional) |
Constructs a LDAPException-object from the error state of a LDAPAsynConnection-object.
- Parameters:
-
lc | A LDAP-Connection for that an error has happend. The Constructor tries to read its error state. |
References string.
LDAPException::~LDAPException |
( |
| ) |
throw () [virtual] |
Member Function Documentation
int LDAPException::getResultCode |
( |
| ) |
const throw () |
- Returns:
- The Result code of the object
const string & LDAPException::getResultMsg |
( |
| ) |
const throw () |
- Returns:
- The error message that is corresponding to the result code .
const string & LDAPException::getServerMsg |
( |
| ) |
const throw () |
- Returns:
- The addional error message of the error (if it was set)
const char * LDAPException::what |
( |
| ) |
const throw () [virtual] |
Friends And Related Function Documentation
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
The documentation for this class was generated from the following files: