|
Changes since the last release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ebay.sdk.SdkException
com.ebay.sdk.ApiException
public class ApiException
The exeption object the wraps the AxisFault information returned in
SOAP response Xml.
View UML diagram of the class.
Title:
Description:
Copyright: Copyright (c) 2004
Company: eBay Inc.
| Constructor Summary | |
|---|---|
ApiException()
Constructor. |
|
ApiException(ErrorType[] errors)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
containsErrorCode(String errorCode)
|
ErrorType[] |
getErrors()
Get list of errors included in the exception. |
String |
getLocalizedMessage()
Overrides Exception.getLocalizedMessage(). |
String |
getMessage()
Overrides Exception.getMessage(). |
int |
getSeverityErrorCount()
Count number of errors with the severity of SeverityCodeType._Error in the error list. |
int |
getSeverityWarningCount()
Count number of errors with the severity of SeverityCodeType._Warning in the error list. |
void |
setErrors(ErrorType[] errors)
Set list of errors to be included in the exception. |
| Methods inherited from class com.ebay.sdk.SdkException |
|---|
getInnerThrowable |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApiException()
public ApiException(ErrorType[] errors)
errors - The array of errors of the exception.| Method Detail |
|---|
public ErrorType[] getErrors()
public void setErrors(ErrorType[] errors)
errors - ErrorType[]public int getSeverityErrorCount()
public int getSeverityWarningCount()
public String getMessage()
getMessage in class SdkExceptionpublic String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic boolean containsErrorCode(String errorCode)
|
Changes since the last release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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-2006 eBay Inc. All rights reserved.