Changes since
the last release

com.ebay.sdk
Class SdkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ebay.sdk.SdkException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ApiException, EpsException, SdkHTTPException, SdkSoapException

public class SdkException
extends java.lang.Exception

The super class of all SDK exception types.

Title:

Description:

Copyright: Copyright (c) 2004

Company: eBay Inc.

Version:
1.0
Author:
Weijun Li
See Also:
Serialized Form

Constructor Summary
SdkException()
          Constructor.
SdkException(java.lang.String message)
          Constructor.
SdkException(java.lang.String message, java.lang.Throwable innerThrowable)
          Constructor.
SdkException(java.lang.Throwable innerThrowable)
          Constructor.
 
Method Summary
 java.lang.Throwable getInnerThrowable()
          Get the inner exception object.
 java.lang.String getMessage()
          Returns combined error message.
 
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

SdkException

public SdkException()
Constructor.


SdkException

public SdkException(java.lang.String message)
Constructor.

Parameters:
message - - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).

SdkException

public SdkException(java.lang.String message,
                    java.lang.Throwable innerThrowable)
Constructor.

Parameters:
message - String
innerThrowable - Throwable

SdkException

public SdkException(java.lang.Throwable innerThrowable)
Constructor.

Parameters:
innerThrowable - Throwable
Method Detail

getInnerThrowable

public java.lang.Throwable getInnerThrowable()
Get the inner exception object.

Returns:
Throwable

getMessage

public java.lang.String getMessage()
Returns combined error message.

Overrides:
getMessage in class java.lang.Throwable
Returns:
String

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.