public class TransportException
extends java.lang.Exception
Constructor and Description |
---|
TransportException()
Constructs an
TransportException with no specified detail message. |
TransportException(java.lang.Exception e)
Constructs a
TransportException wrappering the native transport
exception. |
TransportException(java.lang.String s)
Constructs a
TransportException with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Returns the native transport exception wrappered
by this class.
|
void |
printStackTrace()
Prints this
Throwable and its backtrace to the
specified print stream as well as the wrappered exception. |
void |
printStackTrace(java.io.PrintStream s)
Prints this
Throwable and its backtrace to the
specified print stream as well as the wrappered exception. |
public TransportException()
TransportException
with no specified detail message.public TransportException(java.lang.String s)
TransportException
with the specified detail message.s
- the detail message.public TransportException(java.lang.Exception e)
TransportException
wrappering the native transport
exception.e
- Native exception to be wrapperedpublic java.lang.Exception getException()
public void printStackTrace()
Throwable
and its backtrace to the
specified print stream as well as the wrappered exception.printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
Throwable
and its backtrace to the
specified print stream as well as the wrappered exception.printStackTrace
in class java.lang.Throwable
s
- PrintStream
to use for outputCopyright ? 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.