Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class ErrorType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.ErrorType
All Implemented Interfaces:
Serializable

public class ErrorType
extends Object
implements Serializable

These are request errors (as opposed to system errors) that occur due to problems with business-level data (e.g., an invalid combination of arguments) that the application passed in.

Java class for ErrorType complex type.

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

 <complexType name="ErrorType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ShortMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="LongMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="UserDisplayHint" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="SeverityCode" type="{urn:ebay:apis:eBLBaseComponents}SeverityCodeType" minOccurs="0"/>
         <element name="ErrorParameters" type="{urn:ebay:apis:eBLBaseComponents}ErrorParameterType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="ErrorClassification" type="{urn:ebay:apis:eBLBaseComponents}ErrorClassificationCodeType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  ErrorClassificationCodeType errorClassification
           
protected  String errorCode
           
protected  List<ErrorParameterType> errorParameters
           
protected  String longMessage
           
protected  SeverityCodeType severityCode
           
protected  String shortMessage
           
protected  Boolean userDisplayHint
           
 
Constructor Summary
ErrorType()
           
 
Method Summary
protected  List<Object> _getAny()
           
protected  List<ErrorParameterType> _getErrorParameters()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 ErrorClassificationCodeType getErrorClassification()
          Gets the value of the errorClassification property.
 String getErrorCode()
          Gets the value of the errorCode property.
 ErrorParameterType[] getErrorParameters()
           
 ErrorParameterType getErrorParameters(int idx)
           
 int getErrorParametersLength()
           
 String getLongMessage()
          Gets the value of the longMessage property.
 SeverityCodeType getSeverityCode()
          Gets the value of the severityCode property.
 String getShortMessage()
          Gets the value of the shortMessage property.
 Boolean isUserDisplayHint()
          Gets the value of the userDisplayHint property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setErrorClassification(ErrorClassificationCodeType value)
          Sets the value of the errorClassification property.
 void setErrorCode(String value)
          Sets the value of the errorCode property.
 void setErrorParameters(ErrorParameterType[] values)
           
 ErrorParameterType setErrorParameters(int idx, ErrorParameterType value)
           
 void setLongMessage(String value)
          Sets the value of the longMessage property.
 void setSeverityCode(SeverityCodeType value)
          Sets the value of the severityCode property.
 void setShortMessage(String value)
          Sets the value of the shortMessage property.
 void setUserDisplayHint(Boolean value)
          Sets the value of the userDisplayHint property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shortMessage

protected String shortMessage

longMessage

protected String longMessage

errorCode

protected String errorCode

userDisplayHint

protected Boolean userDisplayHint

severityCode

protected SeverityCodeType severityCode

errorParameters

protected List<ErrorParameterType> errorParameters

errorClassification

protected ErrorClassificationCodeType errorClassification

any

protected List<Object> any
Constructor Detail

ErrorType

public ErrorType()
Method Detail

getShortMessage

public String getShortMessage()
Gets the value of the shortMessage property.

Returns:
possible object is String

setShortMessage

public void setShortMessage(String value)
Sets the value of the shortMessage property.

Parameters:
value - allowed object is String

getLongMessage

public String getLongMessage()
Gets the value of the longMessage property.

Returns:
possible object is String

setLongMessage

public void setLongMessage(String value)
Sets the value of the longMessage property.

Parameters:
value - allowed object is String

getErrorCode

public String getErrorCode()
Gets the value of the errorCode property.

Returns:
possible object is String

setErrorCode

public void setErrorCode(String value)
Sets the value of the errorCode property.

Parameters:
value - allowed object is String

isUserDisplayHint

public Boolean isUserDisplayHint()
Gets the value of the userDisplayHint property.

Returns:
possible object is Boolean

setUserDisplayHint

public void setUserDisplayHint(Boolean value)
Sets the value of the userDisplayHint property.

Parameters:
value - allowed object is Boolean

getSeverityCode

public SeverityCodeType getSeverityCode()
Gets the value of the severityCode property.

Returns:
possible object is SeverityCodeType

setSeverityCode

public void setSeverityCode(SeverityCodeType value)
Sets the value of the severityCode property.

Parameters:
value - allowed object is SeverityCodeType

getErrorParameters

public ErrorParameterType[] getErrorParameters()
Returns:
array of ErrorParameterType

getErrorParameters

public ErrorParameterType getErrorParameters(int idx)
Returns:
one of ErrorParameterType

getErrorParametersLength

public int getErrorParametersLength()

setErrorParameters

public void setErrorParameters(ErrorParameterType[] values)
Parameters:
values - allowed objects are ErrorParameterType

_getErrorParameters

protected List<ErrorParameterType> _getErrorParameters()

setErrorParameters

public ErrorParameterType setErrorParameters(int idx,
                                             ErrorParameterType value)
Parameters:
value - allowed object is ErrorParameterType

getErrorClassification

public ErrorClassificationCodeType getErrorClassification()
Gets the value of the errorClassification property.

Returns:
possible object is ErrorClassificationCodeType

setErrorClassification

public void setErrorClassification(ErrorClassificationCodeType value)
Sets the value of the errorClassification property.

Parameters:
value - allowed object is ErrorClassificationCodeType

getAny

public Object[] getAny()
Returns:
array of Element Object

getAny

public Object getAny(int idx)
Returns:
one of Element Object

getAnyLength

public int getAnyLength()

setAny

public void setAny(Object[] values)
Parameters:
values - allowed objects are Element Object

_getAny

protected List<Object> _getAny()

setAny

public Object setAny(int idx,
                     Object value)
Parameters:
value - allowed object is Element Object

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.