OOP Pop3Receiver Version 2.2

com.bentofw.util
Class NestedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bentofw.util.NestedException
All Implemented Interfaces:
java.io.Serializable

public class NestedException
extends java.lang.Exception

The exception for the system error.

Author:
Jun Inamori
See Also:
Serialized Form

Constructor Summary
NestedException(java.lang.Throwable th)
          The custructor.
 
Method Summary
 java.lang.String getMessage()
          Returns the error message of original Throwable.
 java.lang.Throwable getOriginal()
          Returns the original Throwable.
 void printStackTrace()
          Print this Throwable and its backtrace to the standard error stream.
 void printStackTrace(java.io.PrintStream s)
          Print this Throwable and its backtrace to the specified PrintStream.
 void printStackTrace(java.io.PrintWriter s)
          Print this Throwable and its backtrace to the specified PrintWriter.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NestedException

public NestedException(java.lang.Throwable th)
The custructor. You can get the original error message by getMessage().

Parameters:
th - The original Throwable.
Method Detail

getOriginal

public java.lang.Throwable getOriginal()
Returns the original Throwable.

Returns:
The original Throwable

getMessage

public java.lang.String getMessage()
Returns the error message of original Throwable.

Overrides:
getMessage in class java.lang.Throwable
Returns:
The error message of the original Throwable

printStackTrace

public void printStackTrace()
Print this Throwable and its backtrace to the standard error stream.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Print this Throwable and its backtrace to the specified PrintStream.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Print this Throwable and its backtrace to the specified PrintWriter.

Overrides:
printStackTrace in class java.lang.Throwable

OOP Pop3Receiver Version 2.2

ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.