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.
category | Zend |
---|---|
package | Zend_Gdata |
subpackage | Gapps |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Exception |
__call(string $method, array $args) : mixed
For PHP < 5.3.0, provides access to the getPrevious() method.
string
array
mixed
__construct($errors = null
) : array
inherited_from | \Zend_Exception::__construct() |
---|
array
An array containing a collection of
Zend_Gdata_Gapps_Error objects.__construct(string $msg= ''
, integer $code= 0
, \Exception $previous= null
) : void
string
integer
\Exception
__toString() : string
inherited_from | \Zend_Exception::__toString() |
---|
string
__toString() : string
string
addError(\Zend_Gdata_Gapps_Error $error)
\Zend_Gdata_Gapps_Error
An instance of an error returned by the server. The error's errorCode must be set.
\Zend_Gdata_App_Exception |
---|
getError($errorCode) : \Zend_Gdata_Gapps_Error
\Zend_Gdata_Gapps_Error
The Error object requested, or null
if not found.getErrors() : array
array
An associative array containing a collection of
Zend_Gdata_Gapps_Error objects, indexed by error code.hasError(integer $errorCode) : boolean
integer
The error code to check against.
boolean
Whether or not the supplied error code was returned
by the server.importFromString(string $string) : \Zend_Gdata_Gapps_ServiceException
string
The XML data to be imported
\Zend_Gdata_App_Exception |
---|
\Zend_Gdata_Gapps_ServiceException
Provides a fluent interface.setErrors(array $array)
array
An associative array containing a collection of Zend_Gdata_Gapps_Error objects. All errors must have their errorCode value set.
\Zend_Gdata_App_Exception |
---|
_getPrevious() : \Exception | null
\Exception
null
$_errors : array
array()
$_rootElement
"AppsForYourDomainErrors"
$_previous : null | \Exception
null