|
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.SdkSoapException
public class SdkSoapException
Wraps SOAP exception (SOAPFaultException) for SDK.
It exatracts an ErrorType object from the SOAPFaultException.
Title:
Description:
Copyright: Copyright (c) 2004
Company: eBay Inc.
| Constructor Summary | |
|---|---|
protected |
SdkSoapException(ErrorType errorType,
Exception innerException)
Constructor. |
| Method Summary | |
|---|---|
boolean |
containsErrorCode(String errorCode)
|
static SdkSoapException |
fromSOAPFaultException(SOAPFaultException sfe)
Create an instance of SdkSoapException object from SOAPFaultException. |
ErrorType |
getErrorType()
Gets the associated ErrorType object. |
String |
getMessage()
Overrides Exception.GetMessage() to return short message if there's one. |
void |
setErrorType(ErrorType errorType)
Sets the associated ErrorType object. |
| Methods inherited from class com.ebay.sdk.SdkException |
|---|
getInnerThrowable |
| 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 |
|---|
protected SdkSoapException(ErrorType errorType,
Exception innerException)
errorType - ErrorTypeinnerException - Exception| Method Detail |
|---|
public static SdkSoapException fromSOAPFaultException(SOAPFaultException sfe)
sfe - SOAPFaultException
public ErrorType getErrorType()
public void setErrorType(ErrorType errorType)
errorType - ErrorTypepublic String getMessage()
getMessage in class SdkExceptionpublic 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-2009 eBay Inc. All rights reserved.