org.exolab.adaptx.util
public class NestedIOException extends IOException
Version: $Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $
Constructor Summary | |
---|---|
NestedIOException()
Creates a new NestedIOException with no message,
or nested Exception
| |
NestedIOException(String message)
Creates a new NestedIOException with the given message. | |
NestedIOException(Exception exception)
Creates a new NestedIOException with the given nested
exception.
| |
NestedIOException(String message, Exception exception)
Creates a new NestedIOException with the given message
and nested exception.
|
Method Summary | |
---|---|
Exception | getException()
Returns the exception, which in turn caused this Exception to
be thrown, or null if nested exception exists.
|
void | printStackTrace() |
void | printStackTrace(PrintWriter printer) |
void | printStackTrace(PrintStream printer) |
void | setLocalStackTraceOnly(boolean localTrace)
Sets whether or not to print the local stack trace or
the nested stack trace when calls to #printStackTrace are made. |
String | toString()
Returns the String representation of this Exception.
|
Parameters: message the message for this Exception
Parameters: exception the nested exception. (Must not be null).
Parameters: message the detail message for this exception exception the nested exception
Returns: the exception, which in turn caused this Exception to be thrown, or null if nested exception exists.
Parameters: localTrace a boolean when true enables local stack trace only.
Returns: the String representation of this Exception.