Service/Ebay/Finding/Error/Data.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_Service
- Subpackage
- Ebay
- Version
- $Id: Data.php 22791 2010-08-04 16:11:47Z renanbr $
\Zend_Service_Ebay_Finding_Error_Data
- Parent(s)
- \Zend_Service_Ebay_Finding_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- \global\Zend_Service_Ebay_Finding_Abstract
Properties


array $_attributes = array()
array()
Details- Type
- array
- Inherited_from
- \Zend_Service_Ebay_Finding_Abstract::$$_attributes


\DOMElement $_dom =
- Type
- \DOMElement
- Inherited_from
- \Zend_Service_Ebay_Finding_Abstract::$$_dom


\DOMXPath $_xPath =
- Type
- \DOMXPath
- Inherited_from
- \Zend_Service_Ebay_Finding_Abstract::$$_xPath


string $category =
There are three categories of errors: request errors, application errors, and system errors.
- Type
- string


string $domain =
Name of the domain in which the error occurred.
Domain values
Marketplace: A business or validation error occurred in the service.
SOA: An exception occurred in the Service Oriented Architecture (SOA) framework.
- Type
- string


integer $errorId =
A unique code that identifies the particular error condition that occurred.
Your application can use error codes as identifiers in your customized error-handling algorithms.
- Type
- integer


string $exceptionId =
Unique identifier for an exception associated with an error.
- Type
- string


string $message =
A detailed description of the condition that caused in the error.
- Type
- string


string[] $parameter =
Various warning and error messages return one or more variables that contain contextual information about the error.
This is often the field or value that triggered the error.
- Type
- string[]


string $severity =
Indicates whether the reported problem is fatal (an error) or is less-severe (a warning).
Review the error message details for information on the cause.
This API throws an exception when a fatal error occurs. Only warning problems can fill this attribute. See more about error parsing at {@Zend_Service_Ebay_Finding::_parseResponse()}.
If the request fails and the application is the source of the error (for example, a required element is missing), update the application before you retry the request. If the problem is due to incorrect user data, alert the end-user to the problem and provide the means for them to correct the data. Once the problem in the application or data is resolved, re-send the request to eBay.
If the source of the problem is on eBay's side, you can retry the request a reasonable number of times (eBay recommends you try the request twice). If the error persists, contact Developer Technical Support. Once the problem has been resolved, you can resend the request in its original form.
If a warning occurs, warning information is returned in addition to the business data. Normally, you do not need to resend the request (as the original request was successful). However, depending on the cause of the warning, you might need to contact the end user, or eBay, to effect a long term solution to the problem.
- Type
- string
Methods


__construct(\DOMElement $dom) : void
Name | Type | Description |
---|---|---|
$dom | \DOMElement |


_init() : void
Initialize object.
Post construct logic, classes must read their members here. Called from __construct() as final step of object initialization.


_initXPath() : void
Load DOMXPath for current DOM object.
Inherited from: \Zend_Service_Ebay_Finding_Abstract::_initXPath()- See
- \global\Zend_Service_Ebay_Finding::_parseResponse()


_query(string $path, string $type, string $array = false) : mixed
Name | Type | Description |
---|---|---|
$path | string | |
$type | string | |
$array | string | When true means it expects more than one node occurence |
Type | Description |
---|---|
mixed |


attributes(string $tag, string $attribute = null) : mixed
Name | Type | Description |
---|---|---|
$tag | string | |
$attribute | string |
Type | Description |
---|---|
mixed |


getDom() : \DOMElement
Type | Description |
---|---|
\DOMElement |


getXPath() : \DOMXPath
Type | Description |
---|---|
\DOMXPath |