|
Oracle® Application Server Web Services UDDI Client API Reference 10g Release 2 (10.1.2) Part No. B13971-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.uddi.UddiException
This class is the superclass of all Uddi exceptions, including both client and server exceptions. It implements commonly-needed functionality like exception wrapping and handles the localization and parameterization of exception messages by delegating those responsibilities to a contained LocalizedMessage object (if present). All Uddi exceptions should extend directly or indirectly from this class.
| Constructor Summary | |
UddiException()This default constructor should ONLY be used by the special case UddiClientException constructor which takes a DOM element parameter. | |
UddiException(LocalizedMessage localizedMessage)Constructor with localizable message. | |
UddiException(LocalizedMessage localizedMessage, java.lang.Throwable wrappedThrowable)Constructor with localizable message and wrapped throwable. | |
UddiException(java.lang.String szMessage)Standard non-localized message constructor. | |
UddiException(java.lang.String szMessage, java.lang.Throwable wrappedThrowable)Standard non-localized message constructor with wrapped throwable. | |
| Method Summary | |
java.lang.String |
getErrorCode()Returns the error code number as a String. |
java.lang.String |
getLocalizedMessage()If this exception was created with a localized message, returns the localized String from that object. |
java.lang.String |
getMessage()If this exception was not created with a localized message, this method returns the simple String message which was supplied. |
java.lang.Throwable |
getWrappedThrowable()Returns the wrapped throwable object, or null if none exists. |
void |
printStackTrace()Prints stack trace (including any wrapped exceptions) to standard error. |
void |
printStackTrace(java.io.PrintStream ps)Prints stack trace (including any wrapped exceptions) to specified PrintStream. |
void |
printStackTrace(java.io.PrintWriter pw)Prints stack trace (including any wrapped exceptions) to specified PrintWriter. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UddiException()
public UddiException(java.lang.String szMessage)
public UddiException(java.lang.String szMessage,
java.lang.Throwable wrappedThrowable)
public UddiException(LocalizedMessage localizedMessage)
public UddiException(LocalizedMessage localizedMessage,
java.lang.Throwable wrappedThrowable)
| Method Detail |
public java.lang.Throwable getWrappedThrowable()
public java.lang.String getMessage()
public java.lang.String getLocalizedMessage()
public java.lang.String getErrorCode()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream ps)
public void printStackTrace(java.io.PrintWriter pw)
|
Oracle® Application Server Web Services UDDI Client API Reference 10g Release 2 (10.1.2) Part No. B13971-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||