API Documentation

Ldap/Exception.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Ldap
version
$Id: Exception.php 22997 2010-09-22 17:04:28Z sgehrig $
Classes
Zend_Ldap_Exception

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Ldap_Exception

Extends from
Zend_Exception
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Ldap
uses
Zend_Exception
Constants
LDAP_SUCCESS
LDAP_OPERATIONS_ERROR
LDAP_PROTOCOL_ERROR
LDAP_TIMELIMIT_EXCEEDED
LDAP_SIZELIMIT_EXCEEDED
LDAP_COMPARE_FALSE
LDAP_COMPARE_TRUE
LDAP_AUTH_METHOD_NOT_SUPPORTED
LDAP_STRONG_AUTH_REQUIRED
LDAP_PARTIAL_RESULTS
LDAP_REFERRAL
LDAP_ADMINLIMIT_EXCEEDED
LDAP_UNAVAILABLE_CRITICAL_EXTENSION
LDAP_CONFIDENTIALITY_REQUIRED
LDAP_SASL_BIND_IN_PROGRESS
LDAP_NO_SUCH_ATTRIBUTE
LDAP_UNDEFINED_TYPE
LDAP_INAPPROPRIATE_MATCHING
LDAP_CONSTRAINT_VIOLATION
LDAP_TYPE_OR_VALUE_EXISTS
LDAP_INVALID_SYNTAX
LDAP_NO_SUCH_OBJECT
LDAP_ALIAS_PROBLEM
LDAP_INVALID_DN_SYNTAX
LDAP_IS_LEAF
LDAP_ALIAS_DEREF_PROBLEM
LDAP_PROXY_AUTHZ_FAILURE
LDAP_INAPPROPRIATE_AUTH
LDAP_INVALID_CREDENTIALS
LDAP_INSUFFICIENT_ACCESS
LDAP_BUSY
LDAP_UNAVAILABLE
LDAP_UNWILLING_TO_PERFORM
LDAP_LOOP_DETECT
LDAP_NAMING_VIOLATION
LDAP_OBJECT_CLASS_VIOLATION
LDAP_NOT_ALLOWED_ON_NONLEAF
LDAP_NOT_ALLOWED_ON_RDN
LDAP_ALREADY_EXISTS
LDAP_NO_OBJECT_CLASS_MODS
LDAP_RESULTS_TOO_LARGE
LDAP_AFFECTS_MULTIPLE_DSAS
LDAP_OTHER
LDAP_SERVER_DOWN
LDAP_LOCAL_ERROR
LDAP_ENCODING_ERROR
LDAP_DECODING_ERROR
LDAP_TIMEOUT
LDAP_AUTH_UNKNOWN
LDAP_FILTER_ERROR
LDAP_USER_CANCELLED
LDAP_PARAM_ERROR
LDAP_NO_MEMORY
LDAP_CONNECT_ERROR
LDAP_NOT_SUPPORTED
LDAP_CONTROL_NOT_FOUND
LDAP_NO_RESULTS_RETURNED
LDAP_MORE_RESULTS_TO_RETURN
LDAP_CLIENT_LOOP
LDAP_REFERRAL_LIMIT_EXCEEDED
LDAP_CUP_RESOURCES_EXHAUSTED
LDAP_CUP_SECURITY_VIOLATION
LDAP_CUP_INVALID_DATA
LDAP_CUP_UNSUPPORTED_SCHEME
LDAP_CUP_RELOAD_REQUIRED
LDAP_CANCELLED
LDAP_NO_SUCH_OPERATION
LDAP_TOO_LATE
LDAP_CANNOT_CANCEL
LDAP_ASSERTION_FAILED
LDAP_SYNC_REFRESH_REQUIRED
LDAP_X_SYNC_REFRESH_REQUIRED
LDAP_X_NO_OPERATION
LDAP_X_ASSERTION_FAILED
LDAP_X_NO_REFERRALS_FOUND
LDAP_X_CANNOT_CHAIN
LDAP_X_DOMAIN_MISMATCH
LDAP_X_EXTENSION_NOT_LOADED
Methods
__construct
getLdapCode
getErrorCode

Description

Constants

LDAP_SUCCESS

 LDAP_SUCCESS = '0x00'

Details

value
0x00

LDAP_OPERATIONS_ERROR

 LDAP_OPERATIONS_ERROR = '0x01'

Details

value
0x01

LDAP_PROTOCOL_ERROR

 LDAP_PROTOCOL_ERROR = '0x02'

Details

value
0x02

LDAP_TIMELIMIT_EXCEEDED

 LDAP_TIMELIMIT_EXCEEDED = '0x03'

Details

value
0x03

LDAP_SIZELIMIT_EXCEEDED

 LDAP_SIZELIMIT_EXCEEDED = '0x04'

Details

value
0x04

LDAP_COMPARE_FALSE

 LDAP_COMPARE_FALSE = '0x05'

Details

value
0x05

LDAP_COMPARE_TRUE

 LDAP_COMPARE_TRUE = '0x06'

Details

value
0x06

LDAP_AUTH_METHOD_NOT_SUPPORTED

 LDAP_AUTH_METHOD_NOT_SUPPORTED = '0x07'

Details

value
0x07

LDAP_STRONG_AUTH_REQUIRED

 LDAP_STRONG_AUTH_REQUIRED = '0x08'

Details

value
0x08

LDAP_PARTIAL_RESULTS

 LDAP_PARTIAL_RESULTS = '0x09'

Details

value
0x09

LDAP_REFERRAL

 LDAP_REFERRAL = '0x0a'

Details

value
0x0a

LDAP_ADMINLIMIT_EXCEEDED

 LDAP_ADMINLIMIT_EXCEEDED = '0x0b'

Details

value
0x0b

LDAP_UNAVAILABLE_CRITICAL_EXTENSION

 LDAP_UNAVAILABLE_CRITICAL_EXTENSION = '0x0c'

Details

value
0x0c

LDAP_CONFIDENTIALITY_REQUIRED

 LDAP_CONFIDENTIALITY_REQUIRED = '0x0d'

Details

value
0x0d

LDAP_SASL_BIND_IN_PROGRESS

 LDAP_SASL_BIND_IN_PROGRESS = '0x0e'

Details

value
0x0e

LDAP_NO_SUCH_ATTRIBUTE

 LDAP_NO_SUCH_ATTRIBUTE = '0x10'

Details

value
0x10

LDAP_UNDEFINED_TYPE

 LDAP_UNDEFINED_TYPE = '0x11'

Details

value
0x11

LDAP_INAPPROPRIATE_MATCHING

 LDAP_INAPPROPRIATE_MATCHING = '0x12'

Details

value
0x12

LDAP_CONSTRAINT_VIOLATION

 LDAP_CONSTRAINT_VIOLATION = '0x13'

Details

value
0x13

LDAP_TYPE_OR_VALUE_EXISTS

 LDAP_TYPE_OR_VALUE_EXISTS = '0x14'

Details

value
0x14

LDAP_INVALID_SYNTAX

 LDAP_INVALID_SYNTAX = '0x15'

Details

value
0x15

LDAP_NO_SUCH_OBJECT

 LDAP_NO_SUCH_OBJECT = '0x20'

Details

value
0x20

LDAP_ALIAS_PROBLEM

 LDAP_ALIAS_PROBLEM = '0x21'

Details

value
0x21

LDAP_INVALID_DN_SYNTAX

 LDAP_INVALID_DN_SYNTAX = '0x22'

Details

value
0x22

LDAP_IS_LEAF

 LDAP_IS_LEAF = '0x23'

Details

value
0x23

LDAP_ALIAS_DEREF_PROBLEM

 LDAP_ALIAS_DEREF_PROBLEM = '0x24'

Details

value
0x24

LDAP_PROXY_AUTHZ_FAILURE

 LDAP_PROXY_AUTHZ_FAILURE = '0x2F'

Details

value
0x2F

LDAP_INAPPROPRIATE_AUTH

 LDAP_INAPPROPRIATE_AUTH = '0x30'

Details

value
0x30

LDAP_INVALID_CREDENTIALS

 LDAP_INVALID_CREDENTIALS = '0x31'

Details

value
0x31

LDAP_INSUFFICIENT_ACCESS

 LDAP_INSUFFICIENT_ACCESS = '0x32'

Details

value
0x32

LDAP_BUSY

 LDAP_BUSY = '0x33'

Details

value
0x33

LDAP_UNAVAILABLE

 LDAP_UNAVAILABLE = '0x34'

Details

value
0x34

LDAP_UNWILLING_TO_PERFORM

 LDAP_UNWILLING_TO_PERFORM = '0x35'

Details

value
0x35

LDAP_LOOP_DETECT

 LDAP_LOOP_DETECT = '0x36'

Details

value
0x36

LDAP_NAMING_VIOLATION

 LDAP_NAMING_VIOLATION = '0x40'

Details

value
0x40

LDAP_OBJECT_CLASS_VIOLATION

 LDAP_OBJECT_CLASS_VIOLATION = '0x41'

Details

value
0x41

LDAP_NOT_ALLOWED_ON_NONLEAF

 LDAP_NOT_ALLOWED_ON_NONLEAF = '0x42'

Details

value
0x42

LDAP_NOT_ALLOWED_ON_RDN

 LDAP_NOT_ALLOWED_ON_RDN = '0x43'

Details

value
0x43

LDAP_ALREADY_EXISTS

 LDAP_ALREADY_EXISTS = '0x44'

Details

value
0x44

LDAP_NO_OBJECT_CLASS_MODS

 LDAP_NO_OBJECT_CLASS_MODS = '0x45'

Details

value
0x45

LDAP_RESULTS_TOO_LARGE

 LDAP_RESULTS_TOO_LARGE = '0x46'

Details

value
0x46

LDAP_AFFECTS_MULTIPLE_DSAS

 LDAP_AFFECTS_MULTIPLE_DSAS = '0x47'

Details

value
0x47

LDAP_OTHER

 LDAP_OTHER = '0x50'

Details

value
0x50

LDAP_SERVER_DOWN

 LDAP_SERVER_DOWN = '0x51'

Details

value
0x51

LDAP_LOCAL_ERROR

 LDAP_LOCAL_ERROR = '0x52'

Details

value
0x52

LDAP_ENCODING_ERROR

 LDAP_ENCODING_ERROR = '0x53'

Details

value
0x53

LDAP_DECODING_ERROR

 LDAP_DECODING_ERROR = '0x54'

Details

value
0x54

LDAP_TIMEOUT

 LDAP_TIMEOUT = '0x55'

Details

value
0x55

LDAP_AUTH_UNKNOWN

 LDAP_AUTH_UNKNOWN = '0x56'

Details

value
0x56

LDAP_FILTER_ERROR

 LDAP_FILTER_ERROR = '0x57'

Details

value
0x57

LDAP_USER_CANCELLED

 LDAP_USER_CANCELLED = '0x58'

Details

value
0x58

LDAP_PARAM_ERROR

 LDAP_PARAM_ERROR = '0x59'

Details

value
0x59

LDAP_NO_MEMORY

 LDAP_NO_MEMORY = '0x5a'

Details

value
0x5a

LDAP_CONNECT_ERROR

 LDAP_CONNECT_ERROR = '0x5b'

Details

value
0x5b

LDAP_NOT_SUPPORTED

 LDAP_NOT_SUPPORTED = '0x5c'

Details

value
0x5c

LDAP_CONTROL_NOT_FOUND

 LDAP_CONTROL_NOT_FOUND = '0x5d'

Details

value
0x5d

LDAP_NO_RESULTS_RETURNED

 LDAP_NO_RESULTS_RETURNED = '0x5e'

Details

value
0x5e

LDAP_MORE_RESULTS_TO_RETURN

 LDAP_MORE_RESULTS_TO_RETURN = '0x5f'

Details

value
0x5f

LDAP_CLIENT_LOOP

 LDAP_CLIENT_LOOP = '0x60'

Details

value
0x60

LDAP_REFERRAL_LIMIT_EXCEEDED

 LDAP_REFERRAL_LIMIT_EXCEEDED = '0x61'

Details

value
0x61

LDAP_CUP_RESOURCES_EXHAUSTED

 LDAP_CUP_RESOURCES_EXHAUSTED = '0x71'

Details

value
0x71

LDAP_CUP_SECURITY_VIOLATION

 LDAP_CUP_SECURITY_VIOLATION = '0x72'

Details

value
0x72

LDAP_CUP_INVALID_DATA

 LDAP_CUP_INVALID_DATA = '0x73'

Details

value
0x73

LDAP_CUP_UNSUPPORTED_SCHEME

 LDAP_CUP_UNSUPPORTED_SCHEME = '0x74'

Details

value
0x74

LDAP_CUP_RELOAD_REQUIRED

 LDAP_CUP_RELOAD_REQUIRED = '0x75'

Details

value
0x75

LDAP_CANCELLED

 LDAP_CANCELLED = '0x76'

Details

value
0x76

LDAP_NO_SUCH_OPERATION

 LDAP_NO_SUCH_OPERATION = '0x77'

Details

value
0x77

LDAP_TOO_LATE

 LDAP_TOO_LATE = '0x78'

Details

value
0x78

LDAP_CANNOT_CANCEL

 LDAP_CANNOT_CANCEL = '0x79'

Details

value
0x79

LDAP_ASSERTION_FAILED

 LDAP_ASSERTION_FAILED = '0x7A'

Details

value
0x7A

LDAP_SYNC_REFRESH_REQUIRED

 LDAP_SYNC_REFRESH_REQUIRED = '0x1000'

Details

value
0x1000

LDAP_X_SYNC_REFRESH_REQUIRED

 LDAP_X_SYNC_REFRESH_REQUIRED = '0x4100'

Details

value
0x4100

LDAP_X_NO_OPERATION

 LDAP_X_NO_OPERATION = '0x410e'

Details

value
0x410e

LDAP_X_ASSERTION_FAILED

 LDAP_X_ASSERTION_FAILED = '0x410f'

Details

value
0x410f

LDAP_X_NO_REFERRALS_FOUND

 LDAP_X_NO_REFERRALS_FOUND = '0x4110'

Details

value
0x4110

LDAP_X_CANNOT_CHAIN

 LDAP_X_CANNOT_CHAIN = '0x4111'

Details

value
0x4111

LDAP_X_DOMAIN_MISMATCH

 LDAP_X_DOMAIN_MISMATCH = '0x7001'

Details

value
0x7001

LDAP_X_EXTENSION_NOT_LOADED

 LDAP_X_EXTENSION_NOT_LOADED = '0x7002'

Details

value
0x7002

Methods

__construct

__construct( Zend_Ldap $ldap = null, string $str = null, int $code = 0 ) :

Arguments
$ldap
Zend_Ldap
A Zend_Ldap object
$str
string
An informtive exception message
$code
int
An LDAP error code
Details
visibility
public
final
false
static
false

getErrorCode

getErrorCode( ) : int

Output
int
The current error code for this exception
Details
visibility
public
final
false
static
false
deprecated
will be removed

getLdapCode

getLdapCode( Zend_Ldap $ldap = null ) : int

Arguments
$ldap
Zend_Ldap
A Zend_Ldap object
Output
int
The current error code for the resource
Details
visibility
public
final
false
static
true
deprecated
not necessary any more - will be removed
Documentation was generated by DocBlox.