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.
Gdata exceptions
Class to represent an exception that occurs during the use of ClientLogin. This particular exception happens when a CAPTCHA challenge is issued. This challenge is a visual puzzle presented to the user to prove that they are not an automated system.

__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(
string $captchaToken, string $captchaUrl
)
:
void
Constructs the exception to handle a CAPTCHA required response.
Name | Type | Description |
---|---|---|
$captchaToken | string | The CAPTCHA token ID provided by the server. |
$captchaUrl | string | The URL to the CAPTCHA challenge image. |

__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 |

getCaptchaToken(
)
:
string
Retrieves the token identifier as provided by the server.
Type | Description |
---|---|
string |

getCaptchaUrl(
)
:
string
Retrieves the URL CAPTCHA image as provided by the server.
Type | Description |
---|---|
string |