Path

ez components / documentation / api reference / 2009.1.2 / authentication


eZ Components 2009.1.2

Authentication: ezcAuthenticationLdapException

[ Tutorial ] [ Rfcs ] [ Security ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcAuthenticationLdapException

Thrown when an exceptional state occurs in the LDAP authentication. [source]

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcAuthenticationException
         |
         --ezcAuthenticationLdapException

Inherited Member Variables

From ezcBaseException:
public  ezcBaseException::$originalMessage
From Exception (Internal Class):
protected  $code
protected  $file
protected  $line
protected  $message
private  $string
private  $trace

Method Summary

public ezcAuthenticationLdapException __construct( $message, [$code = false], [$ldapMessage = false] )
Constructs a new ezcAuthenticationLdapException with error message $message and error code $code.

Inherited Methods

From ezcAuthenticationException :
public ezcAuthenticationException ezcAuthenticationException::__construct()
Constructs a new ezcAuthenticationException with error message $message.
From ezcBaseException :
public ezcBaseException ezcBaseException::__construct()
Constructs a new ezcBaseException with $message
From Exception (Internal Class) :
public Exception constructor __construct ( $message, $code )
public void getCode ( )
public void getFile ( )
public void getLine ( )
public void getMessage ( )
public void getTrace ( )
public void getTraceAsString ( )
public void __clone ( )
public void __toString ( )

Methods

__construct

ezcAuthenticationLdapException __construct( string $message, [mixed $code = false], [mixed $ldapMessage = false] )
Constructs a new ezcAuthenticationLdapException with error message $message and error code $code.
Code $code is received in decimal format and will be displayed in hexadecimal format. See http://php.net/manual/en/function.ldap-errno.php for all the error codes returned by ldap_errno().

Parameters

Name Type Description
$message string Message to throw
$code mixed Error code returned by ldap_errno() function
$ldapMessage mixed Message thrown by the LDAP server

Redefinition of

Method Description
ezcAuthenticationException::__construct() Constructs a new ezcAuthenticationException with error message $message.

Last updated: Tue, 01 Sep 2009