|
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,
java.lang.Exception innerException)
Constructor. |
Method Summary | |
---|---|
boolean |
containsErrorCode(java.lang.String errorCode)
|
static SdkSoapException |
fromSOAPFaultException(javax.xml.ws.soap.SOAPFaultException sfe)
Create an instance of SdkSoapException object from SOAPFaultException. |
ErrorType |
getErrorType()
Gets the associated ErrorType object. |
java.lang.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, java.lang.Exception innerException)
errorType
- ErrorTypeinnerException
- ExceptionMethod Detail |
---|
public static SdkSoapException fromSOAPFaultException(javax.xml.ws.soap.SOAPFaultException sfe)
sfe
- SOAPFaultException
public ErrorType getErrorType()
public void setErrorType(ErrorType errorType)
errorType
- ErrorTypepublic java.lang.String getMessage()
getMessage
in class SdkException
public boolean containsErrorCode(java.lang.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.