Web Site

org.codehaus.janino.util
Class CausedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.codehaus.janino.util.CausedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LocatedException

public class CausedException
extends java.lang.Exception

For compatibility with pre-1.4 JDKs, this class mimics

See Also:
Serialized Form

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

Constructor Detail

CausedException

public CausedException()

CausedException

public CausedException(java.lang.String message)

CausedException

public CausedException(java.lang.String message,
                       java.lang.Throwable optionalCause)

CausedException

public CausedException(java.lang.Throwable optionalCause)
Method Detail

initCause

public java.lang.Throwable initCause(java.lang.Throwable optionalCause)

getCause

public java.lang.Throwable getCause()

printStackTrace

public void printStackTrace(java.io.PrintStream ps)

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)

Web Site