Ldap/Exception.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Ldap  
Version
$Id$  

\Zend_Ldap_Exception

Package: Zend_Ldap
Parent(s)
\Zend_Exception < \Exception
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Uses
 

Constants

>VConstant  LDAP_SUCCESS = 0
>VConstant  LDAP_OPERATIONS_ERROR = 1
>VConstant  LDAP_PROTOCOL_ERROR = 2
>VConstant  LDAP_TIMELIMIT_EXCEEDED = 3
>VConstant  LDAP_SIZELIMIT_EXCEEDED = 4
>VConstant  LDAP_COMPARE_FALSE = 5
>VConstant  LDAP_COMPARE_TRUE = 6
>VConstant  LDAP_AUTH_METHOD_NOT_SUPPORTED = 7
>VConstant  LDAP_STRONG_AUTH_REQUIRED = 8
>VConstant  LDAP_PARTIAL_RESULTS = 9
>VConstant  LDAP_REFERRAL = 10
>VConstant  LDAP_ADMINLIMIT_EXCEEDED = 11
>VConstant  LDAP_UNAVAILABLE_CRITICAL_EXTENSION = 12
>VConstant  LDAP_CONFIDENTIALITY_REQUIRED = 13
>VConstant  LDAP_SASL_BIND_IN_PROGRESS = 14
>VConstant  LDAP_NO_SUCH_ATTRIBUTE = 16
>VConstant  LDAP_UNDEFINED_TYPE = 17
>VConstant  LDAP_INAPPROPRIATE_MATCHING = 18
>VConstant  LDAP_CONSTRAINT_VIOLATION = 19
>VConstant  LDAP_TYPE_OR_VALUE_EXISTS = 20
>VConstant  LDAP_INVALID_SYNTAX = 21
>VConstant  LDAP_NO_SUCH_OBJECT = 32
>VConstant  LDAP_ALIAS_PROBLEM = 33
>VConstant  LDAP_INVALID_DN_SYNTAX = 34
>VConstant  LDAP_IS_LEAF = 35
>VConstant  LDAP_ALIAS_DEREF_PROBLEM = 36
>VConstant  LDAP_PROXY_AUTHZ_FAILURE = 47
>VConstant  LDAP_INAPPROPRIATE_AUTH = 48
>VConstant  LDAP_INVALID_CREDENTIALS = 49
>VConstant  LDAP_INSUFFICIENT_ACCESS = 50
>VConstant  LDAP_BUSY = 51
>VConstant  LDAP_UNAVAILABLE = 52
>VConstant  LDAP_UNWILLING_TO_PERFORM = 53
>VConstant  LDAP_LOOP_DETECT = 54
>VConstant  LDAP_NAMING_VIOLATION = 64
>VConstant  LDAP_OBJECT_CLASS_VIOLATION = 65
>VConstant  LDAP_NOT_ALLOWED_ON_NONLEAF = 66
>VConstant  LDAP_NOT_ALLOWED_ON_RDN = 67
>VConstant  LDAP_ALREADY_EXISTS = 68
>VConstant  LDAP_NO_OBJECT_CLASS_MODS = 69
>VConstant  LDAP_RESULTS_TOO_LARGE = 70
>VConstant  LDAP_AFFECTS_MULTIPLE_DSAS = 71
>VConstant  LDAP_OTHER = 80
>VConstant  LDAP_SERVER_DOWN = 81
>VConstant  LDAP_LOCAL_ERROR = 82
>VConstant  LDAP_ENCODING_ERROR = 83
>VConstant  LDAP_DECODING_ERROR = 84
>VConstant  LDAP_TIMEOUT = 85
>VConstant  LDAP_AUTH_UNKNOWN = 86
>VConstant  LDAP_FILTER_ERROR = 87
>VConstant  LDAP_USER_CANCELLED = 88
>VConstant  LDAP_PARAM_ERROR = 89
>VConstant  LDAP_NO_MEMORY = 90
>VConstant  LDAP_CONNECT_ERROR = 91
>VConstant  LDAP_NOT_SUPPORTED = 92
>VConstant  LDAP_CONTROL_NOT_FOUND = 93
>VConstant  LDAP_NO_RESULTS_RETURNED = 94
>VConstant  LDAP_MORE_RESULTS_TO_RETURN = 95
>VConstant  LDAP_CLIENT_LOOP = 96
>VConstant  LDAP_REFERRAL_LIMIT_EXCEEDED = 97
>VConstant  LDAP_CUP_RESOURCES_EXHAUSTED = 113
>VConstant  LDAP_CUP_SECURITY_VIOLATION = 114
>VConstant  LDAP_CUP_INVALID_DATA = 115
>VConstant  LDAP_CUP_UNSUPPORTED_SCHEME = 116
>VConstant  LDAP_CUP_RELOAD_REQUIRED = 117
>VConstant  LDAP_CANCELLED = 118
>VConstant  LDAP_NO_SUCH_OPERATION = 119
>VConstant  LDAP_TOO_LATE = 120
>VConstant  LDAP_CANNOT_CANCEL = 121
>VConstant  LDAP_ASSERTION_FAILED = 122
>VConstant  LDAP_SYNC_REFRESH_REQUIRED = 4096
>VConstant  LDAP_X_SYNC_REFRESH_REQUIRED = 16640
>VConstant  LDAP_X_NO_OPERATION = 16654
>VConstant  LDAP_X_ASSERTION_FAILED = 16655
>VConstant  LDAP_X_NO_REFERRALS_FOUND = 16656
>VConstant  LDAP_X_CANNOT_CHAIN = 16657
>VConstant  LDAP_X_DOMAIN_MISMATCH = 28673
>VConstant  LDAP_X_EXTENSION_NOT_LOADED = 28674

Methods

methodpublic__construct(\Zend_Ldap $ldap = null, string $str = null, int $code = 0) : void

Parameters
NameTypeDescription
$ldap\Zend_Ldap

A Zend_Ldap object

$strstring

An informtive exception message

$codeint

An LDAP error code

methodpublicgetErrorCode() : int

Returns
TypeDescription
intThe current error code for this exception
Details
Deprecated
will be removed  
methodpublicgetLdapCode(\Zend_Ldap $ldap = null) : int
static

Parameters
NameTypeDescription
$ldap\Zend_Ldap

A Zend_Ldap object

Returns
TypeDescription
intThe current error code for the resource
Details
Deprecated
not necessary any more - will be removed  
Documentation was generated by phpDocumentor 2.2.0 .