|
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.SdkHTTPException
public class SdkHTTPException
Wraps HTTP exception (unexpected return codes 300 - 499, 501-599) for SDK.
The HTTP return code is available in the ErrorCode property.
Title:
Description:
Copyright: Copyright (c) 2004
Company: eBay Inc.
Constructor Summary | |
---|---|
SdkHTTPException(int code)
|
Method Summary | |
---|---|
static SdkHTTPException |
fromHTTPException(javax.xml.ws.http.HTTPException he)
Create an instance of SdkHTTPException object from the associated HTTPException. |
int |
getErrorCode()
Gets the HTTP return code associated with the unexpected HTTP response. |
void |
setErrorCode(int errorCode)
Sets the HTTP return code. |
Methods inherited from class com.ebay.sdk.SdkException |
---|
getInnerThrowable, getMessage |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 SdkHTTPException(int code)
Method Detail |
---|
public static SdkHTTPException fromHTTPException(javax.xml.ws.http.HTTPException he)
he
-
public int getErrorCode()
public void setErrorCode(int errorCode)
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-2009 eBay Inc. All rights reserved.