Zend Framework
1.12
|
Public Member Functions | |
__construct ($errors=null) | |
Create a new ServiceException. | |
addError ($error) | |
Add a single Error object to the list of errors received by the server. | |
setErrors ($array) | |
Set the list of errors as sent by the server inside of an AppsForYourDomainErrors tag. | |
getErrors () | |
Get the list of errors as sent by the server inside of an AppsForYourDomainErrors tag. | |
getError ($errorCode) | |
Return the Error object associated with a specific error code. | |
hasError ($errorCode) | |
Check whether or not a particular error code was returned by the server. | |
importFromString ($string) | |
Import an AppsForYourDomain error from XML. | |
__toString () | |
Get a human readable version of this exception. | |
![]() | |
__construct ($msg= '', $code=0, Exception $previous=null) | |
Construct the exception. | |
__call ($method, array $args) | |
Overloading. | |
__toString () | |
String representation of the exception. | |
Protected Attributes | |
$_rootElement = "AppsForYourDomainErrors" | |
$_errors = array() | |
Additional Inherited Members | |
![]() | |
_getPrevious () | |
Returns previous Exception. | |
__construct | ( | $errors = null | ) |
Create a new ServiceException.
__toString | ( | ) |
Get a human readable version of this exception.
addError | ( | $error | ) |
Add a single Error object to the list of errors received by the server.
Zend_Gdata_Gapps_Error | $error | An instance of an error returned by the server. The error's errorCode must be set. |
Zend_Gdata_App_Exception |
getError | ( | $errorCode | ) |
Return the Error object associated with a specific error code.
getErrors | ( | ) |
Get the list of errors as sent by the server inside of an AppsForYourDomainErrors tag.
hasError | ( | $errorCode | ) |
Check whether or not a particular error code was returned by the server.
integer | $errorCode | The error code to check against. |
importFromString | ( | $string | ) |
Import an AppsForYourDomain error from XML.
string | $string | The XML data to be imported |
Zend_Gdata_App_Exception |
setErrors | ( | $array | ) |
Set the list of errors as sent by the server inside of an AppsForYourDomainErrors tag.
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 |
|
protected |
|
protected |