org.exolab.castor.util
public class NestedIOException extends IOException
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:06 $
| 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.