C# Class Novell.Directory.Ldap.LdapLocalException

Represents an Ldap exception that is not a result of a server response.
Inheritance: LdapException
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
LdapLocalException ( ) : System

Constructs a default exception with no specific error information.

LdapLocalException ( System messageOrKey, System arguments, int resultCode ) : System

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and modifying arguments. Additional parameters specify the result code. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself. The message in the default locale is built with the supplied arguments, which are saved to be used for building messages for other locales.

LdapLocalException ( System messageOrKey, System arguments, int resultCode, System rootException ) : System

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and modifying arguments. Additional parameters specify the result code and a rootException which is the underlying cause of an error on the client. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself. The message in the default locale is built with the supplied arguments, which are saved to be used for building messages for other locales.

LdapLocalException ( System messageOrKey, int resultCode ) : System

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and the result code. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself.

LdapLocalException ( System messageOrKey, int resultCode, System rootException ) : System

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String. Additional parameters specify the result code and a rootException which is the underlying cause of an error on the client. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself.

ToString ( ) : System.String

returns a string of information about the exception and the the nested exceptions, if any.

Method Details

LdapLocalException() public method

Constructs a default exception with no specific error information.
public LdapLocalException ( ) : System
return System

LdapLocalException() public method

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and modifying arguments. Additional parameters specify the result code. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself. The message in the default locale is built with the supplied arguments, which are saved to be used for building messages for other locales.
public LdapLocalException ( System messageOrKey, System arguments, int resultCode ) : System
messageOrKey System Key to addition result information, a key into /// ExceptionMessages, or the information /// itself if the key doesn't exist. /// ///
arguments System The modifying arguments to be included in the /// message string. /// ///
resultCode int The result code returned. ///
return System

LdapLocalException() public method

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and modifying arguments. Additional parameters specify the result code and a rootException which is the underlying cause of an error on the client. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself. The message in the default locale is built with the supplied arguments, which are saved to be used for building messages for other locales.
public LdapLocalException ( System messageOrKey, System arguments, int resultCode, System rootException ) : System
messageOrKey System Key to addition result information, a key into /// ExceptionMessages, or the information /// itself if the key doesn't exist. /// ///
arguments System The modifying arguments to be included in the /// message string. /// ///
resultCode int The result code returned. /// ///
rootException System A throwable which is the underlying cause /// of the LdapException. ///
return System

LdapLocalException() public method

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and the result code. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself.
public LdapLocalException ( System messageOrKey, int resultCode ) : System
messageOrKey System Key to addition result information, a key into /// ExceptionMessages, or the information /// itself if the key doesn't exist. /// ///
resultCode int The result code returned. ///
return System

LdapLocalException() public method

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String. Additional parameters specify the result code and a rootException which is the underlying cause of an error on the client. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself.
public LdapLocalException ( System messageOrKey, int resultCode, System rootException ) : System
messageOrKey System Key to addition result information, a key into /// ExceptionMessages, or the information /// itself if the key doesn't exist. /// ///
resultCode int The result code returned. /// ///
rootException System A throwable which is the underlying cause /// of the LdapException. ///
return System

ToString() public method

returns a string of information about the exception and the the nested exceptions, if any.
public ToString ( ) : System.String
return System.String