Class TransportException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.uddi4j.transport.TransportException
All Implemented Interfaces:
Serializable

public class TransportException extends Exception
Represents a communications error originating within the SOAP transport. The native exception thrown by the SOAP transport is encapsulated within this exception.
Author:
David Melgar (dmelgar@us.ibm.com)
See Also:
  • Constructor Details

    • TransportException

      public TransportException()
      Constructs an TransportException with no specified detail message.
    • TransportException

      public TransportException(String s)
      Constructs a TransportException with the specified detail message.
      Parameters:
      s - the detail message.
    • TransportException

      public TransportException(Exception e)
      Constructs a TransportException wrappering the native transport exception.
      Parameters:
      e - Native exception to be wrappered
  • Method Details

    • getException

      public Exception getException()
      Returns the native transport exception wrappered by this class.
      Returns:
      Exception
    • printStackTrace

      public void printStackTrace()
      Prints this Throwable and its backtrace to the specified print stream as well as the wrappered exception.
      Overrides:
      printStackTrace in class Throwable
    • printStackTrace

      public void printStackTrace(PrintStream s)
      Prints this Throwable and its backtrace to the specified print stream as well as the wrappered exception.
      Overrides:
      printStackTrace in class Throwable
      Parameters:
      s - PrintStream to use for output