API Documentation

Ldap/Exception.php

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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Ldap  
version
$Id: Exception.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Ldap_Exception

Extends from
\Zend_Exception
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Ldap  
uses
\Zend_Exception  

Constants

Constant  LDAP_SUCCESS = '0x00'
Constant  LDAP_OPERATIONS_ERROR = '0x01'
Constant  LDAP_PROTOCOL_ERROR = '0x02'
Constant  LDAP_TIMELIMIT_EXCEEDED = '0x03'
Constant  LDAP_SIZELIMIT_EXCEEDED = '0x04'
Constant  LDAP_COMPARE_FALSE = '0x05'
Constant  LDAP_COMPARE_TRUE = '0x06'
Constant  LDAP_AUTH_METHOD_NOT_SUPPORTED = '0x07'
Constant  LDAP_STRONG_AUTH_REQUIRED = '0x08'
Constant  LDAP_PARTIAL_RESULTS = '0x09'
Constant  LDAP_REFERRAL = '0x0a'
Constant  LDAP_ADMINLIMIT_EXCEEDED = '0x0b'
Constant  LDAP_UNAVAILABLE_CRITICAL_EXTENSION = '0x0c'
Constant  LDAP_CONFIDENTIALITY_REQUIRED = '0x0d'
Constant  LDAP_SASL_BIND_IN_PROGRESS = '0x0e'
Constant  LDAP_NO_SUCH_ATTRIBUTE = '0x10'
Constant  LDAP_UNDEFINED_TYPE = '0x11'
Constant  LDAP_INAPPROPRIATE_MATCHING = '0x12'
Constant  LDAP_CONSTRAINT_VIOLATION = '0x13'
Constant  LDAP_TYPE_OR_VALUE_EXISTS = '0x14'
Constant  LDAP_INVALID_SYNTAX = '0x15'
Constant  LDAP_NO_SUCH_OBJECT = '0x20'
Constant  LDAP_ALIAS_PROBLEM = '0x21'
Constant  LDAP_INVALID_DN_SYNTAX = '0x22'
Constant  LDAP_IS_LEAF = '0x23'
Constant  LDAP_ALIAS_DEREF_PROBLEM = '0x24'
Constant  LDAP_PROXY_AUTHZ_FAILURE = '0x2F'
Constant  LDAP_INAPPROPRIATE_AUTH = '0x30'
Constant  LDAP_INVALID_CREDENTIALS = '0x31'
Constant  LDAP_INSUFFICIENT_ACCESS = '0x32'
Constant  LDAP_BUSY = '0x33'
Constant  LDAP_UNAVAILABLE = '0x34'
Constant  LDAP_UNWILLING_TO_PERFORM = '0x35'
Constant  LDAP_LOOP_DETECT = '0x36'
Constant  LDAP_NAMING_VIOLATION = '0x40'
Constant  LDAP_OBJECT_CLASS_VIOLATION = '0x41'
Constant  LDAP_NOT_ALLOWED_ON_NONLEAF = '0x42'
Constant  LDAP_NOT_ALLOWED_ON_RDN = '0x43'
Constant  LDAP_ALREADY_EXISTS = '0x44'
Constant  LDAP_NO_OBJECT_CLASS_MODS = '0x45'
Constant  LDAP_RESULTS_TOO_LARGE = '0x46'
Constant  LDAP_AFFECTS_MULTIPLE_DSAS = '0x47'
Constant  LDAP_OTHER = '0x50'
Constant  LDAP_SERVER_DOWN = '0x51'
Constant  LDAP_LOCAL_ERROR = '0x52'
Constant  LDAP_ENCODING_ERROR = '0x53'
Constant  LDAP_DECODING_ERROR = '0x54'
Constant  LDAP_TIMEOUT = '0x55'
Constant  LDAP_AUTH_UNKNOWN = '0x56'
Constant  LDAP_FILTER_ERROR = '0x57'
Constant  LDAP_USER_CANCELLED = '0x58'
Constant  LDAP_PARAM_ERROR = '0x59'
Constant  LDAP_NO_MEMORY = '0x5a'
Constant  LDAP_CONNECT_ERROR = '0x5b'
Constant  LDAP_NOT_SUPPORTED = '0x5c'
Constant  LDAP_CONTROL_NOT_FOUND = '0x5d'
Constant  LDAP_NO_RESULTS_RETURNED = '0x5e'
Constant  LDAP_MORE_RESULTS_TO_RETURN = '0x5f'
Constant  LDAP_CLIENT_LOOP = '0x60'
Constant  LDAP_REFERRAL_LIMIT_EXCEEDED = '0x61'
Constant  LDAP_CUP_RESOURCES_EXHAUSTED = '0x71'
Constant  LDAP_CUP_SECURITY_VIOLATION = '0x72'
Constant  LDAP_CUP_INVALID_DATA = '0x73'
Constant  LDAP_CUP_UNSUPPORTED_SCHEME = '0x74'
Constant  LDAP_CUP_RELOAD_REQUIRED = '0x75'
Constant  LDAP_CANCELLED = '0x76'
Constant  LDAP_NO_SUCH_OPERATION = '0x77'
Constant  LDAP_TOO_LATE = '0x78'
Constant  LDAP_CANNOT_CANCEL = '0x79'
Constant  LDAP_ASSERTION_FAILED = '0x7A'
Constant  LDAP_SYNC_REFRESH_REQUIRED = '0x1000'
Constant  LDAP_X_SYNC_REFRESH_REQUIRED = '0x4100'
Constant  LDAP_X_NO_OPERATION = '0x410e'
Constant  LDAP_X_ASSERTION_FAILED = '0x410f'
Constant  LDAP_X_NO_REFERRALS_FOUND = '0x4110'
Constant  LDAP_X_CANNOT_CHAIN = '0x4111'
Constant  LDAP_X_DOMAIN_MISMATCH = '0x7001'
Constant  LDAP_X_EXTENSION_NOT_LOADED = '0x7002'

Methods

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

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

String representation of the exception

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

Returns previous Exception

Inherited from: \Zend_Exception::_getPrevious()
Returns
Type Description
\Exceptionnull
methodpublicgetCode( ) : void
final

Inherited from:
methodpublicgetErrorCode( ) : int

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

Inherited from:
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
final

Inherited from:
methodpublicgetMessage( ) : void
final

Inherited from:
methodpublicgetPrevious( ) : void
final

Inherited from:
methodpublicgetTrace( ) : void
final

Inherited from:
methodpublicgetTraceAsString( ) : void
final

Inherited from:
Documentation was generated by DocBlox 0.13.3.