Gdata/App/CaptchaRequiredException.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 [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_Gdata
- Subpackage
- App
- Version
- $Id: CaptchaRequiredException.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Gdata_App_CaptchaRequiredException
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.
- Parent(s)
- \Zend_Gdata_App_AuthException < \Zend_Gdata_App_Exception < \Zend_Exception < \Exception
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
Properties


null|\Exception $_previous = null
null
Details- Type
- null | \Exception
- Inherited_from
- \Zend_Exception::$$_previous
- Inherited_from
- \Zend_Gdata_App_Exception::$$_previous
- Inherited_from
- \Zend_Gdata_App_AuthException::$$_previous
Methods


__call(string $method, array $args) : mixed
Overloading
Inherited from: \Zend_Exception::__call()\Zend_Gdata_App_Exception::__call()\Zend_Gdata_App_AuthException::__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()\Zend_Gdata_App_Exception::__toString()\Zend_Gdata_App_AuthException::__toString()Type | Description |
---|---|
string |


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


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 |


getCode() : void


getFile() : void


getLine() : void


getMessage() : void


getPrevious() : void


getTrace() : void