#include <LDAPUrl.h>
Public Member Functions | |
LDAPUrlException (int code, const std::string &msg="") | |
int | getCode () const |
const std::string | getErrorMessage () const |
const std::string | getAdditionalInfo () const |
Static Public Attributes | |
static const int | INVALID_SCHEME = 1 |
static const int | INVALID_PORT = 2 |
static const int | INVALID_SCOPE = 3 |
static const int | INVALID_URL = 4 |
static const int | URL_DECODING_ERROR = 5 |
static const code2string_s | code2string [] |
LDAPUrlException::LDAPUrlException | ( | int | code, | |
const std::string & | msg = "" | |||
) |
const std::string LDAPUrlException::getAdditionalInfo | ( | ) | const |
int LDAPUrlException::getCode | ( | ) | const |
const std::string LDAPUrlException::getErrorMessage | ( | ) | const |
References code2string.
const code2string_s LDAPUrlException::code2string [static] |
{ { INVALID_SCHEME, "Invalid URL Scheme" }, { INVALID_PORT, "Invalid Port in Url" }, { INVALID_SCOPE, "Invalid Search Scope in Url" }, { INVALID_URL, "Invalid LDAP Url" }, { URL_DECODING_ERROR, "Url-decoding Error" }, { 0, 0 } }
Referenced by getErrorMessage().
const int LDAPUrlException::INVALID_PORT = 2 [static] |
Referenced by LDAPUrl::parseUrl().
const int LDAPUrlException::INVALID_SCHEME = 1 [static] |
Referenced by LDAPUrl::parseUrl(), and LDAPUrl::setScheme().
const int LDAPUrlException::INVALID_SCOPE = 3 [static] |
Referenced by LDAPUrl::parseUrl(), and LDAPUrl::setScope().
const int LDAPUrlException::INVALID_URL = 4 [static] |
Referenced by LDAPUrl::parseUrl().
const int LDAPUrlException::URL_DECODING_ERROR = 5 [static] |
Referenced by LDAPUrl::percentDecode().