org.codehaus.janino.util
Class CausedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.janino.util.CausedException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- LocatedException
public class CausedException
- extends Exception
For compatibility with pre-1.4 JDKs, this class mimics
- See Also:
- Serialized Form
CausedException
public CausedException()
CausedException
public CausedException(String message)
CausedException
public CausedException(String message,
Throwable optionalCause)
CausedException
public CausedException(Throwable optionalCause)
initCause
public Throwable initCause(Throwable optionalCause)
- Overrides:
initCause
in class Throwable
getCause
public Throwable getCause()
- Overrides:
getCause
in class Throwable
printStackTrace
public void printStackTrace(PrintStream ps)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter pw)
- Overrides:
printStackTrace
in class Throwable