Oracle Collaboration Suite Discussions Web Services Java API Reference
10g (10.1.2.2)

Part No. B28210-01


oracle.discussions.ws.exceptions
Class TdWSException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byoracle.discussions.ws.exceptions.TdWSException

All Implemented Interfaces:
java.io.Serializable

public class TdWSException
extends java.lang.Exception

Represents a Oracle Discussions Web services generic exception.

Encapsulates an error code, error message and a server side stack trace.
The error code can be used by the customers for reporting exceptions. Error message will be translated into the user's locale by webservices server before the exception reaches the user. Server side stacktrace is converted into a string array and encapsulated in the exception bean.The stacktrace is included only for the exceptions raised by Discussions backend. For the exceptions originating from the webservices layer, only error code and error message are included.
On the client side, axis runtime converts the exception class to extend AxisFault.

See Also:
Serialized Form

Method Summary
 java.lang.String getErrorCode()
          Returns the error code corresponding to the exception.
 java.lang.String getErrorMessage()
          Returns the localized error message depicting the exception.
 java.lang.String[] getServerStackTrace()
          Returns the serverStackTrace depicting the exception details.

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Method Detail

getErrorMessage

public java.lang.String getErrorMessage()
Returns the localized error message depicting the exception.
Returns:
errorMessage

getErrorCode

public java.lang.String getErrorCode()
Returns the error code corresponding to the exception. The error code can be used by the customer to report the exception.
Returns:
errorCode

getServerStackTrace

public java.lang.String[] getServerStackTrace()
Returns the serverStackTrace depicting the exception details.
Returns:
serverStackTrace - Server side stack trace.

Copyright © 2005, Oracle. All rights reserved.