Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class ErrorType

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

public class ErrorType
extends java.lang.Object
implements java.io.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  java.util.List<java.lang.Object> any
           
protected  ErrorClassificationCodeType errorClassification
           
protected  java.lang.String errorCode
           
protected  java.util.List<ErrorParameterType> errorParameters
           
protected  java.lang.String longMessage
           
protected  SeverityCodeType severityCode
           
protected  java.lang.String shortMessage
           
protected  java.lang.Boolean userDisplayHint
           
 
Constructor Summary
ErrorType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
protected  java.util.List<ErrorParameterType> _getErrorParameters()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 ErrorClassificationCodeType getErrorClassification()
          Gets the value of the errorClassification property.
 java.lang.String getErrorCode()
          Gets the value of the errorCode property.
 ErrorParameterType[] getErrorParameters()
           
 ErrorParameterType getErrorParameters(int idx)
           
 int getErrorParametersLength()
           
 java.lang.String getLongMessage()
          Gets the value of the longMessage property.
 SeverityCodeType getSeverityCode()
          Gets the value of the severityCode property.
 java.lang.String getShortMessage()
          Gets the value of the shortMessage property.
 java.lang.Boolean isUserDisplayHint()
          Gets the value of the userDisplayHint property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setErrorClassification(ErrorClassificationCodeType value)
          Sets the value of the errorClassification property.
 void setErrorCode(java.lang.String value)
          Sets the value of the errorCode property.
 void setErrorParameters(ErrorParameterType[] values)
           
 ErrorParameterType setErrorParameters(int idx, ErrorParameterType value)
           
 void setLongMessage(java.lang.String value)
          Sets the value of the longMessage property.
 void setSeverityCode(SeverityCodeType value)
          Sets the value of the severityCode property.
 void setShortMessage(java.lang.String value)
          Sets the value of the shortMessage property.
 void setUserDisplayHint(java.lang.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 java.lang.String shortMessage

longMessage

protected java.lang.String longMessage

errorCode

protected java.lang.String errorCode

userDisplayHint

protected java.lang.Boolean userDisplayHint

severityCode

protected SeverityCodeType severityCode

errorParameters

protected java.util.List<ErrorParameterType> errorParameters

errorClassification

protected ErrorClassificationCodeType errorClassification

any

protected java.util.List<java.lang.Object> any
Constructor Detail

ErrorType

public ErrorType()
Method Detail

getShortMessage

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

Returns:
possible object is String

setShortMessage

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

Parameters:
value - allowed object is String

getLongMessage

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

Returns:
possible object is String

setLongMessage

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

Parameters:
value - allowed object is String

getErrorCode

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

Returns:
possible object is String

setErrorCode

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

Parameters:
value - allowed object is String

isUserDisplayHint

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

Returns:
possible object is Boolean

setUserDisplayHint

public void setUserDisplayHint(java.lang.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 java.util.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 java.lang.Object[] getAny()
Returns:
array of Object Element

getAny

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

getAnyLength

public int getAnyLength()

setAny

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

_getAny

protected java.util.List<java.lang.Object> _getAny()

setAny

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

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.