org.codehaus.janino.util

Class CausedException

public class CausedException extends Exception

For compatibility with pre-1.4 JDKs, this class mimics
Constructor Summary
CausedException()
CausedException(String message)
CausedException(String message, Throwable optionalCause)
CausedException(Throwable optionalCause)
Method Summary
ThrowablegetCause()
ThrowableinitCause(Throwable optionalCause)
voidprintStackTrace(PrintStream ps)
voidprintStackTrace(PrintWriter pw)

Constructor Detail

CausedException

public CausedException()

CausedException

public CausedException(String message)

CausedException

public CausedException(String message, Throwable optionalCause)

CausedException

public CausedException(Throwable optionalCause)

Method Detail

getCause

public Throwable getCause()

initCause

public Throwable initCause(Throwable optionalCause)

printStackTrace

public void printStackTrace(PrintStream ps)

printStackTrace

public void printStackTrace(PrintWriter pw)