org.codehaus.commons.compiler
Class CausedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.codehaus.commons.compiler.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)
Overrides:
initCause in class java.lang.Throwable

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable

printStackTrace

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

printStackTrace

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


Copyright © 2001-2012. All Rights Reserved.