|
Oracle Collaboration Suite Discussions Web Services Java API Reference 10g (10.1.2.2) Part No. B28210-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.discussions.ws.exceptions.TdWSException
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.
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 |
public java.lang.String getErrorMessage()
public java.lang.String getErrorCode()
public java.lang.String[] getServerStackTrace()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |