LdapException

Overview

Exception class for errors returned by the LdapClient and LdapUserLookup classes.

Location

 

constructor    (declared in Exception) Island, Toffee

 

constructor

 

LdapException()

 

init()

 

Sub New()

constructor (Int32)

Creates a new instance of this class.

 

constructor(code: Int32)

 

LdapException(Int32 code)

 

init(_ code: Int32)

 

Sub New(code As Int32)

Parameters:

  • code: the error code to use

constructor (String)

Creates a new instance of this class.

 

constructor(message: String)

 

LdapException(String message)

 

init(_ message: String)

 

Sub New(message As String)

Parameters:

  • message: Message for this exception

constructor (String, Int32)

 

constructor(message: String; code: Int32)

 

LdapException(String message, Int32 code)

 

init(_ message: String, _ code: Int32)

 

Sub New(message As String, code As Int32)

Parameters:

  • message:
  • code:

constructor (String, Exception)    (declared in Exception) Island, Toffee

 

constructor(message: String; innerException: Exception)

 

LdapException(String message, Exception innerException)

 

init(_ message: String, _ innerException: Exception)

 

Sub New(message As String, innerException As Exception)

Parameters:

  • message:
  • innerException:

Code  virtual

The Ldap error code, if the error that occurred came from the server, this value will be <> 0.

 

property Code: Int32 read;

 

Int32 Code { get; }

 

var Code: Int32 { get{} }

 

ReadOnly Property Code() As Int32

ErrorToString  virtual

Converts an error code to it's string representation.

 

class method ErrorToString(code: Int32): String

 

static String ErrorToString(Int32 code)

 

static func ErrorToString(_ code: Int32) -> String

 

Shared Function ErrorToString(code As Int32) As String

Parameters:

  • code: The code to convert

 

Code  virtual

The Ldap error code, if the error that occurred came from the server, this value will be <> 0.

 

property Code: Int32 read;

 

Int32 Code { get; }

 

var Code: Int32 { get{} }

 

ReadOnly Property Code() As Int32

 

ErrorToString  virtual

Converts an error code to it's string representation.

 

class method ErrorToString(code: Int32): String

 

static String ErrorToString(Int32 code)

 

static func ErrorToString(_ code: Int32) -> String

 

Shared Function ErrorToString(code As Int32) As String

Parameters:

  • code: The code to convert

 

constructor    (declared in Exception) Island, Toffee

 

constructor

 

LdapException()

 

init()

 

Sub New()

constructor (Int32)

Creates a new instance of this class.

 

constructor(code: Int32)

 

LdapException(Int32 code)

 

init(_ code: Int32)

 

Sub New(code As Int32)

Parameters:

  • code: the error code to use

constructor (String)

Creates a new instance of this class.

 

constructor(message: String)

 

LdapException(String message)

 

init(_ message: String)

 

Sub New(message As String)

Parameters:

  • message: Message for this exception

constructor (String, Int32)

 

constructor(message: String; code: Int32)

 

LdapException(String message, Int32 code)

 

init(_ message: String, _ code: Int32)

 

Sub New(message As String, code As Int32)

Parameters:

  • message:
  • code:

constructor (String, Exception)    (declared in Exception) Island, Toffee

 

constructor(message: String; innerException: Exception)

 

LdapException(String message, Exception innerException)

 

init(_ message: String, _ innerException: Exception)

 

Sub New(message As String, innerException As Exception)

Parameters:

  • message:
  • innerException: