fmpp.util
Class RuntimeExceptionCC

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by fmpp.util.RuntimeExceptionCC
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BugException

public class RuntimeExceptionCC
extends java.lang.RuntimeException

RuntimeException that emulates J2SE 1.4+ cause-chains if it runs on earlier versions. Furthermore, in FMPP error messages, the message of this exception is trusted (i.e. no need to print the class name), as it is inside an fmpp.* package.

See Also:
Serialized Form

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

Constructor Detail

RuntimeExceptionCC

public RuntimeExceptionCC()

RuntimeExceptionCC

public RuntimeExceptionCC(java.lang.String s)

RuntimeExceptionCC

public RuntimeExceptionCC(java.lang.Throwable cause)

RuntimeExceptionCC

public RuntimeExceptionCC(java.lang.String s,
                          java.lang.Throwable cause)
Method Detail

getCause

public java.lang.Throwable getCause()
Overrides:
getCause 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