|
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
oracle.uddi.client.UddiClientException
Superclass for all UDDI client-side exceptions, including exceptions returned by the UDDI registry via a SOAP Fault message.
The Disposition report has detailed information about the UDDI error as defined by the UDDI specification. If the response is a SOAP fault, but does not contain a disposition report, this exception may still be thrown.
The DispositionReport
class contains constants for the various error values that can be returned.
Field Summary |
Fields inherited from interface oracle.uddi.client.SOAPMessageConstants |
ATTR_ARRAY_TYPE, ATTR_ENCODING_STYLE, ATTR_ID, ATTR_MUST_UNDERSTAND, ATTR_NULL, ATTR_REFERENCE, ATTR_TYPE, ELEM_BODY, ELEM_DETAIL, ELEM_ENVELOPE, ELEM_FAULT, ELEM_FAULT_ACTOR, ELEM_FAULT_CODE, ELEM_FAULT_STRING, ELEM_HEADER, FAULT_CODE_CLIENT, FAULT_CODE_MUST_UNDERSTAND, FAULT_CODE_SERVER, FAULT_CODE_VERSION_MISMATCH, NS_PRE_SOAP, NS_PRE_SOAP_ENC, NS_PRE_SOAP_ENV, NS_PRE_XMLNS, NS_URI_SOAP_ENC, NS_URI_SOAP_ENV, NS_URI_XMLNS |
Constructor Summary | |
UddiClientException(org.w3c.dom.Element el, UddiElementFactory ueFactory) Constructor that parses the XML dom tree of a SOAP Fault element representing UDDI Error (DispositionReport). | |
UddiClientException(java.lang.String errorCode) Constructor for error code and non-parameterized message. | |
UddiClientException(java.lang.String errorCode, java.lang.Object parameter) Constructor for error code and one-parameter message. | |
UddiClientException(java.lang.String errorCode, java.lang.Object[] parameterArray) Constructor for error code and many-parameter message. | |
UddiClientException(java.lang.String errorCode, java.lang.Object[] parameterArray, java.lang.Throwable wrappedThrowable) Constructor for error code and many-parameter message and wrapped throwable. | |
UddiClientException(java.lang.String errorCode, java.lang.Object parameter1, java.lang.Object parameter2) Constructor for error code and two-parameter message. | |
UddiClientException(java.lang.String errorCode, java.lang.Object parameter1, java.lang.Object parameter2, java.lang.Object parameter3) Constructor for error code and three-parameter message. | |
UddiClientException(java.lang.String errorCode, java.lang.Object parameter1, java.lang.Object parameter2, java.lang.Object parameter3, java.lang.Throwable wrappedThrowable) Constructor for error code and three-parameter message and wrapped throwable. | |
UddiClientException(java.lang.String errorCode, java.lang.Object parameter1, java.lang.Object parameter2, java.lang.Throwable wrappedThrowable) Constructor for error code and two-parameter message and wrapped throwable. | |
UddiClientException(java.lang.String errorCode, java.lang.Object parameter, java.lang.Throwable wrappedThrowable) Constructor for error code and one-parameter message and wrapped throwable. | |
UddiClientException(java.lang.String errorCode, java.lang.Throwable wrappedThrowable) Constructor for error code and non-parameterized message and wrapped throwable. | |
UddiClientException(UddiClientMessage localizableMessage) Constructor with localizable message. | |
UddiClientException(UddiClientMessage localizableMessage, java.lang.Throwable wrappedThrowable) Constructor with localizable message and wrapped throwable. |
Method Summary | |
org.w3c.dom.Element |
getDetail() Returns the DOM "detail" element which is embedded in the SOAP fault and contains the disposition report if a UDDI server-side error occurred. |
DispositionReport |
getDispositionReport() Gets the DispositionReport which describes UDDI-specific error information. |
java.lang.String |
getFaultActor() Returns the SOAP fault actor. |
java.lang.String |
getFaultCode() Returns the SOAP fault code. |
java.lang.String |
getFaultString() Returns the SOAP fault string. |
java.lang.String |
getLocalizedMessage() Gets the error message in the language of the appropriate Locale. |
java.lang.String |
getMessage() Gets the error message in the language of the Locale.US Locale. |
static boolean |
isSoapFault(org.w3c.dom.Element el) Tests the passed in element to determine if the element represents a SOAP Fault object. |
boolean |
isUddiFault() Returns true if the exception represents an error raised by the UDDI Registry via a SOAP Fault message. |
Methods inherited from class oracle.uddi.UddiException |
getErrorCode, getWrappedThrowable, printStackTrace, printStackTrace, printStackTrace |
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 UddiClientException(java.lang.String errorCode)
public UddiClientException(java.lang.String errorCode, java.lang.Object parameter)
public UddiClientException(java.lang.String errorCode, java.lang.Object parameter1, java.lang.Object parameter2)
public UddiClientException(java.lang.String errorCode, java.lang.Object parameter1, java.lang.Object parameter2, java.lang.Object parameter3)
public UddiClientException(java.lang.String errorCode, java.lang.Object[] parameterArray)
public UddiClientException(java.lang.String errorCode, java.lang.Throwable wrappedThrowable)
public UddiClientException(java.lang.String errorCode, java.lang.Object parameter, java.lang.Throwable wrappedThrowable)
public UddiClientException(java.lang.String errorCode, java.lang.Object parameter1, java.lang.Object parameter2, java.lang.Throwable wrappedThrowable)
public UddiClientException(java.lang.String errorCode, java.lang.Object parameter1, java.lang.Object parameter2, java.lang.Object parameter3, java.lang.Throwable wrappedThrowable)
public UddiClientException(java.lang.String errorCode, java.lang.Object[] parameterArray, java.lang.Throwable wrappedThrowable)
public UddiClientException(UddiClientMessage localizableMessage)
public UddiClientException(UddiClientMessage localizableMessage, java.lang.Throwable wrappedThrowable)
public UddiClientException(org.w3c.dom.Element el, UddiElementFactory ueFactory)
el
- SOAP Fault element which may contain DispositionReportMethod Detail |
public java.lang.String getMessage()
getMessage
in class UddiException
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class UddiException
public java.lang.String getFaultCode()
public java.lang.String getFaultString()
public java.lang.String getFaultActor()
public org.w3c.dom.Element getDetail()
public DispositionReport getDispositionReport()
DispositionReport
which describes UDDI-specific error information. Note that this may be null.public boolean isUddiFault()
public static boolean isSoapFault(org.w3c.dom.Element el)
el
- root element for this object
|
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 |