Package org.uddi4j

Class UDDIException

All Implemented Interfaces:
Serializable

public class UDDIException extends Exception
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 Details

    • UDDIException

      public UDDIException()
    • UDDIException

      public UDDIException(Element el, boolean createDispositionReport)
      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

      public static boolean isValidElement(Element el)
      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

      public String getFaultCode()
    • getFaultString

      public String getFaultString()
    • getFaultActor

      public String getFaultActor()
    • getDetail

      public String getDetail()
    • getDetailElement

      public Element getDetailElement()
    • getDispositionReport

      public DispositionReport getDispositionReport()
    • getText

      protected String getText(Node el)
      Utility function. Returns text contained in child elements of the passed in element
      Parameters:
      el - Element
      Returns:
      java.lang.String
    • toString

      public String toString()
      Provide simple text exception message For full details, examine the dispositionReport object itself
      Overrides:
      toString in class Throwable
      Returns:
      java.lang.String