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 Gapps Exception class. This is thrown when an AppsForYourDomainErrors message is received from the Google Apps servers.
Several different errors may be represented by this exception. For a list of error codes available, see getErrorCode.
array $_errors = 'array'
Array of Zend_Gdata_Error objects indexed by error code.
$_rootElement = 'AppsForYourDomainErrors'
__construct(
$errors
=
null
)
:
array
Create a new ServiceException.
__toString(
)
:
string
Get a human readable version of this exception.
addError(
Zend_Gdata_Gapps_Error $error
)
:
Add a single Error object to the list of errors received by the server.
getError(
$errorCode
)
:
Zend_Gdata_Gapps_Error
Return the Error object associated with a specific error code.
getErrors(
)
:
array
Get the list of errors as sent by the server inside of an AppsForYourDomainErrors tag.
hasError(
integer $errorCode
)
:
boolean
Check whether or not a particular error code was returned by the server.
importFromString(
string $string
)
:
Zend_Gdata_Gapps_ServiceException
Import an AppsForYourDomain error from XML.
setErrors(
array $array
)
:
Set the list of errors as sent by the server inside of an AppsForYourDomainErrors tag.