public class

ErrorType

extends Object
java.lang.Object
   ↳ ebay.apis.eblbasecomponents.ErrorType

Class Overview

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"/>
         <element name="LongMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}token"/>
         <element name="SeverityCode" type="{urn:ebay:apis:eBLBaseComponents}SeverityCodeType"/>
         <element name="ErrorParameters" type="{urn:ebay:apis:eBLBaseComponents}ErrorParameterType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected String errorCode
protected List<ErrorParameterType> errorParameters
protected String longMessage
protected SeverityCodeType severityCode
protected String shortMessage
Public Constructors
ErrorType()
Public Methods
String getErrorCode()
Gets the value of the errorCode property.
List<ErrorParameterType> getErrorParameters()
Gets the value of the errorParameters property.
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.
void setErrorCode(String value)
Sets the value of the errorCode property.
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.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String errorCode

protected List<ErrorParameterType> errorParameters

protected String longMessage

protected SeverityCodeType severityCode

protected String shortMessage

Public Constructors

public ErrorType ()

Public Methods

public String getErrorCode ()

Gets the value of the errorCode property.

Returns
  • possible object is String

public List<ErrorParameterType> getErrorParameters ()

Gets the value of the errorParameters property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the errorParameters property.

For example, to add a new item, do as follows:

    getErrorParameters().add(newItem);
 

Objects of the following type(s) are allowed in the list ErrorParameterType

public String getLongMessage ()

Gets the value of the longMessage property.

Returns
  • possible object is String

public SeverityCodeType getSeverityCode ()

Gets the value of the severityCode property.

Returns

public String getShortMessage ()

Gets the value of the shortMessage property.

Returns
  • possible object is String

public void setErrorCode (String value)

Sets the value of the errorCode property.

Parameters
value Allowed object is String

public void setLongMessage (String value)

Sets the value of the longMessage property.

Parameters
value Allowed object is String

public void setSeverityCode (SeverityCodeType value)

Sets the value of the severityCode property.

Parameters
value Allowed object is SeverityCodeType

public void setShortMessage (String value)

Sets the value of the shortMessage property.

Parameters
value Allowed object is String