Ldap/Exception.php

Show: inherited
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 [email protected] so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Ldap  
Version
$Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Ldap_Exception

Package: Zend\Ldap

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

Constants

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

Properties

Propertyprivatenull|\Exception $_previous = null
inherited

Inherited from: \Zend_Exception::$$_previous
Default valuenullDetails
Type
null | \Exception
Inherited_from
\Zend_Exception::$$_previous  

Methods

methodpublic__call(string $method, array $args) : mixed
inherited

Overloading

Inherited from: \Zend_Exception::__call()

For PHP < 5.3.0, provides access to the getPrevious() method.

Parameters
Name Type Description
$method string
$args array
Returns
Type Description
mixed
methodpublic__construct(\Zend_Ldap $ldap = null, string $str = null, int $code = 0) : void

Construct the exception

Parameters
Name Type Description
$ldap \Zend_Ldap

A Zend_Ldap object

$str string

An informtive exception message

$code int

An LDAP error code

methodpublic__toString() : string
inherited

String representation of the exception

Inherited from: \Zend_Exception::__toString()
Returns
Type Description
string
methodprotected_getPrevious() : \Exception | null
inherited

Returns previous Exception

Inherited from: \Zend_Exception::_getPrevious()
Returns
Type Description
\Exception | null
methodpublicgetCode() : void
finalinherited

Inherited from: \Zend_Exception::getCode()
methodpublicgetErrorCode() : int

Returns
Type Description
int The current error code for this exception
Details
Deprecated
will be removed  
methodpublicgetFile() : void
finalinherited

Inherited from: \Zend_Exception::getFile()
methodpublicgetLdapCode(\Zend_Ldap $ldap = null) : int
static

Parameters
Name Type Description
$ldap \Zend_Ldap

A Zend_Ldap object

Returns
Type Description
int The current error code for the resource
Details
Deprecated
not necessary any more - will be removed  
methodpublicgetLine() : void
finalinherited

Inherited from: \Zend_Exception::getLine()
methodpublicgetMessage() : void
finalinherited

Inherited from: \Zend_Exception::getMessage()
methodpublicgetPrevious() : void
finalinherited

Inherited from: \Zend_Exception::getPrevious()
methodpublicgetTrace() : void
finalinherited

Inherited from: \Zend_Exception::getTrace()
methodpublicgetTraceAsString() : void
finalinherited

Inherited from: \Zend_Exception::getTraceAsString()
Documentation was generated by phpDocumentor 2.0.0a8.