ldapsdk  0.0.1
Public Member Functions | Static Public Attributes
LDAPUrlException Class Reference

#include <LDAPUrl.h>

List of all members.

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 []

Constructor & Destructor Documentation

LDAPUrlException::LDAPUrlException ( int  code,
const std::string &  msg = "" 
)

Member Function Documentation

const std::string LDAPUrlException::getAdditionalInfo ( ) const
int LDAPUrlException::getCode ( ) const
const std::string LDAPUrlException::getErrorMessage ( ) const

References code2string.


Member Data Documentation

const code2string_s LDAPUrlException::code2string
static
Initial value:
{
{ 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
const int LDAPUrlException::INVALID_SCOPE = 3
static
const int LDAPUrlException::INVALID_URL = 4
static

Referenced by LDAPUrl::parseUrl().

const int LDAPUrlException::URL_DECODING_ERROR = 5
static

Referenced by LDAPUrl::percentDecode().


The documentation for this class was generated from the following files: