Changes since
the last release

com.ebay.sdk
Interface ErrorInfo

All Known Implementing Classes:
ErrorInfoImpl, PictureInfo

public interface ErrorInfo

Interface to identify that a data object can store related error.

Title:

Description:

Copyright: Copyright (c) 2004

Company: eBay Inc.

Version:
1.0
Author:
Weijun Li

Method Summary
 void clearError()
          Clear the error.
 String getErrorMessage()
          Get error message string.
 String getErrorType()
          Get error type string.
 boolean hasError()
          Indicates if there's error.
 void setErrorMessage(String errorMessage)
          Set error message string.
 void setErrorType(String errorType)
          Set error type string.
 

Method Detail

hasError

boolean hasError()
Indicates if there's error.

Returns:
true means there's error.

clearError

void clearError()
Clear the error.


getErrorType

String getErrorType()
Get error type string.

Returns:
error type string.

setErrorType

void setErrorType(String errorType)
Set error type string.

Parameters:
errorType - the error type string to set.

getErrorMessage

String getErrorMessage()
Get error message string.

Returns:
error message string.

setErrorMessage

void setErrorMessage(String errorMessage)
Set error message string.

Parameters:
errorMessage - error message string to set.

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.