Service/Ebay/Finding/Error/Data.php

Show: inherited
Table of Contents

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

Package: Zend\Service\Ebay

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

Propertyprotectedarray $_attributes = array()
Default valuearray()Details
Type
array
Inherited_from
\Zend_Service_Ebay_Finding_Abstract::$$_attributes  
Propertyprotected\DOMElement $_dom =
Propertyprotected\DOMXPath $_xPath =
Propertypublicstring $category =

There are three categories of errors: request errors, application errors, and system errors.

Details
Type
string
Propertypublicstring $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.

Details
Type
string
Propertypublicinteger $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.

Details
Type
integer
Propertypublicstring $exceptionId =

Unique identifier for an exception associated with an error.

Details
Type
string
Propertypublicstring $message =

A detailed description of the condition that caused in the error.

Details
Type
string
Propertypublicstring[] $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.

Details
Type
string[]
Propertypublicstring $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.

Details
Type
string
Propertypublicstring $subdomain =

Name of the subdomain in which the error occurred.

Subdomain values

Finding: The error is specific to the Finding service.

MarketplaceCommon: The error is common to all Marketplace services.

Details
Type
string

Methods

methodpublic__construct(\DOMElement $dom) : void
Parameters
Name Type Description
$dom \DOMElement
methodprotected_init() : void

Initialize object.

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

methodprotected_initXPath() : void
inherited

Load DOMXPath for current DOM object.

Inherited from: \Zend_Service_Ebay_Finding_Abstract::_initXPath()
Details
See
\global\Zend_Service_Ebay_Finding::_parseResponse()  
methodprotected_query(string $path, string $type, string $array = false) : mixed
Parameters
Name Type Description
$path string
$type string
$array string

When true means it expects more than one node occurence

Returns
Type Description
mixed
methodpublicattributes(string $tag, string $attribute = null) : mixed
Parameters
Name Type Description
$tag string
$attribute string
Returns
Type Description
mixed
methodpublicgetDom() : \DOMElement
Returns
Type Description
\DOMElement
methodpublicgetXPath() : \DOMXPath
Returns
Type Description
\DOMXPath
Documentation was generated by phpDocumentor 2.0.0a8.