Package org.uddi4j
Class UDDIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.uddi4j.UDDIException
- All Implemented Interfaces:
Serializable
Represents a UDDI defined error. This exception is thrown in cases
where the return value on the UDDI API cannot indicate an error condition.
UDDIException usually contains a disposition report that 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 definitions for the various error values that can be returned.
- Author:
- David Melgar (dmelgar@us.ibm.com)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUDDIException
(Element el, boolean createDispositionReport) Constructer that parses the XML dom tree and extracts useful attributes. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
UDDIException
public UDDIException() -
UDDIException
Constructer that parses the XML dom tree and extracts useful attributes.- Parameters:
el
- Root element of the tree within the SOAP body.
-
-
Method Details
-
isValidElement
Tests the passed in element to determine if the element is a serialized version of this object.- Parameters:
el
- Root element for this object
-
getFaultCode
-
getFaultString
-
getFaultActor
-
getDetail
-
getDetailElement
-
getDispositionReport
-
getText
Utility function. Returns text contained in child elements of the passed in element- Parameters:
el
- Element- Returns:
- java.lang.String
-
toString
Provide simple text exception message For full details, examine the dispositionReport object itself
-