Package org.uddi4j.transport
Class TransportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.uddi4j.transport.TransportException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionConstructs anTransportExceptionwith no specified detail message.Constructs aTransportExceptionwrappering the native transport exception.Constructs aTransportExceptionwith the specified detail message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the native transport exception wrappered by this class.voidPrints thisThrowableand its backtrace to the specified print stream as well as the wrappered exception.voidPrints thisThrowableand its backtrace to the specified print stream as well as the wrappered exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransportException
public TransportException()Constructs anTransportExceptionwith no specified detail message. -
TransportException
Constructs aTransportExceptionwith the specified detail message.- Parameters:
s- the detail message.
-
TransportException
Constructs aTransportExceptionwrappering the native transport exception.- Parameters:
e- Native exception to be wrappered
-
-
Method Details
-
getException
Returns the native transport exception wrappered by this class.- Returns:
- Exception
-
printStackTrace
public void printStackTrace()Prints thisThrowableand its backtrace to the specified print stream as well as the wrappered exception.- Overrides:
printStackTracein classThrowable
-
printStackTrace
Prints thisThrowableand its backtrace to the specified print stream as well as the wrappered exception.- Overrides:
printStackTracein classThrowable- Parameters:
s-PrintStreamto use for output
-