edu.toronto.cs.util
Class NestedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.toronto.cs.util.NestedException
All Implemented Interfaces:
java.io.Serializable

public class NestedException
extends java.lang.Exception

This is a wrapper arround Exception to provide NestedExceptions to be used everywhere :)

See Also:
Serialized Form

Constructor Summary
NestedException(java.lang.Exception _ex)
           
NestedException(java.lang.String message, java.lang.Exception _ex)
           
 
Method Summary
 java.lang.String getMessage()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NestedException

public NestedException(java.lang.String message,
                       java.lang.Exception _ex)

NestedException

public NestedException(java.lang.Exception _ex)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace in class java.lang.Throwable