Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum ErrorClassificationCodeType

java.lang.Object
  extended by java.lang.Enum<ErrorClassificationCodeType>
      extended by com.ebay.soap.eBLBaseComponents.ErrorClassificationCodeType
All Implemented Interfaces:
Serializable, Comparable<ErrorClassificationCodeType>

public enum ErrorClassificationCodeType
extends Enum<ErrorClassificationCodeType>

Java class for ErrorClassificationCodeType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="ErrorClassificationCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="RequestError"/>
     <enumeration value="SystemError"/>
     <enumeration value="CustomCode"/>
   </restriction>
 </simpleType>
 
Note: Per JAXB standards, underscores are added to separate words in enumerations (e.g., PayPal becomes PAY_PAL).


Enum Constant Summary
CUSTOM_CODE
          (out) Reserved for internal or future use.
REQUEST_ERROR
          An error has occurred either as a result of a problem in the sending application or because the application's end-user has attempted to submit invalid data (or missing data).
SYSTEM_ERROR
          Indicates that an error has occurred on the eBay system side, such as a database or server down.
 
Method Summary
static ErrorClassificationCodeType fromValue(String v)
           
 String value()
           
static ErrorClassificationCodeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ErrorClassificationCodeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REQUEST_ERROR

public static final ErrorClassificationCodeType REQUEST_ERROR
An error has occurred either as a result of a problem in the sending application or because the application's end-user has attempted to submit invalid data (or missing data). In these cases, do not retry the request. The problem must be corrected before the request can be made again. If the problem is due to something in the application (such as a missing required field), the application must be changed. If the problem is a result of end-user data, the application must alert the end-user to the problem and provide the means for the end-user to correct the data. Once the problem in the application or data is resolved, resend the request to eBay with the corrected data.


SYSTEM_ERROR

public static final ErrorClassificationCodeType SYSTEM_ERROR
Indicates that an error has occurred on the eBay system side, such as a database or server down. An application can retry the request as-is a reasonable number of times (eBay recommends twice). If the error persists, contact Developer Technical Support. Once the problem has been resolved, the request may be resent in its original form.


CUSTOM_CODE

public static final ErrorClassificationCodeType CUSTOM_CODE
(out) Reserved for internal or future use.

Method Detail

values

public static ErrorClassificationCodeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ErrorClassificationCodeType c : ErrorClassificationCodeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ErrorClassificationCodeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static ErrorClassificationCodeType fromValue(String v)

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.