public class UDDIException
extends java.lang.Exception
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.
Constructor and Description |
---|
UDDIException() |
UDDIException(org.w3c.dom.Element el,
boolean createDispositionReport)
Constructer that parses the XML dom tree and extracts
useful attributes.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDetail() |
org.w3c.dom.Element |
getDetailElement() |
DispositionReport |
getDispositionReport() |
java.lang.String |
getFaultActor() |
java.lang.String |
getFaultCode() |
java.lang.String |
getFaultString() |
protected java.lang.String |
getText(org.w3c.dom.Node el)
Utility function.
|
static boolean |
isValidElement(org.w3c.dom.Element el)
Tests the passed in element to determine if the
element is a serialized version of this object.
|
java.lang.String |
toString()
Provide simple text exception message
For full details, examine the dispositionReport object itself
|
public UDDIException()
public UDDIException(org.w3c.dom.Element el, boolean createDispositionReport)
el
- Root element of the tree within the SOAP body.public static boolean isValidElement(org.w3c.dom.Element el)
el
- Root element for this objectpublic java.lang.String getFaultCode()
public java.lang.String getFaultString()
public java.lang.String getFaultActor()
public java.lang.String getDetail()
public org.w3c.dom.Element getDetailElement()
public DispositionReport getDispositionReport()
protected java.lang.String getText(org.w3c.dom.Node el)
el
- Elementpublic java.lang.String toString()
toString
in class java.lang.Throwable
Copyright ? 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.