[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/Gapps/ -> ServiceException.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 208 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Gdata_Gapps_ServiceException:: (8 methods):
  __construct()
  addError()
  setErrors()
  getErrors()
  getError()
  hasError()
  importFromString()
  __toString()


Class: Zend_Gdata_Gapps_ServiceException  - X-Ref

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.

__construct($errors = null)   X-Ref
Create a new ServiceException.

return: array An array containing a collection of

addError($error)   X-Ref
Add a single Error object to the list of errors received by the
server.

param: Zend_Gdata_Gapps_Error $error An instance of an error returned

setErrors($array)   X-Ref
Set the list of errors as sent by the server inside of an
AppsForYourDomainErrors tag.

param: array $array An associative array containing a collection of

getErrors()   X-Ref
Get the list of errors as sent by the server inside of an
AppsForYourDomainErrors tag.

return: array An associative array containing a collection of

getError($errorCode)   X-Ref
Return the Error object associated with a specific error code.

return: Zend_Gdata_Gapps_Error The Error object requested, or null

hasError($errorCode)   X-Ref
Check whether or not a particular error code was returned by the
server.

param: integer $errorCode The error code to check against.
return: boolean Whether or not the supplied error code was returned

importFromString($string)   X-Ref
Import an AppsForYourDomain error from XML.

param: string $string The XML data to be imported
return: Zend_Gdata_Gapps_ServiceException Provides a fluent interface.

__toString()   X-Ref
Get a human readable version of this exception.

return: string



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1