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.

__call(
string $method, array $args
)
:
mixed
Overloading
Inherited from: \Zend_Exception::__call()For PHP < 5.3.0, provides access to the getPrevious() method.
Name | Type | Description |
---|---|---|
$method | string | |
$args | array |
Type | Description |
---|---|
mixed |

__construct(
\Zend_Ldap $ldap
=
null, string $str
=
null, int $code
=
0
)
:
void
Construct the exception
Name | Type | Description |
---|---|---|
$ldap | \Zend_Ldap | A Zend_Ldap object |
$str | string | An informtive exception message |
$code | int | An LDAP error code |

__toString(
)
:
string
String representation of the exception
Inherited from: \Zend_Exception::__toString()Type | Description |
---|---|
string |

_getPrevious(
)
:
\Exception|null
Returns previous Exception
Inherited from: \Zend_Exception::_getPrevious()Type | Description |
---|---|
\Exceptionnull |

getErrorCode(
)
:
int
Type | Description |
---|---|
int | The current error code for this exception |

getLdapCode(
\Zend_Ldap $ldap
=
null
)
:
int
Name | Type | Description |
---|---|---|
$ldap | \Zend_Ldap | A Zend_Ldap object |
Type | Description |
---|---|
int | The current error code for the resource |