Package fmpp.util
Class RuntimeExceptionCC
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- 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
Constructors Constructor Description RuntimeExceptionCC()
RuntimeExceptionCC(java.lang.String s)
RuntimeExceptionCC(java.lang.String s, java.lang.Throwable cause)
RuntimeExceptionCC(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getCause()
void
printStackTrace()
void
printStackTrace(java.io.PrintStream s)
void
printStackTrace(java.io.PrintWriter s)
-
-
-
Method Detail
-
getCause
public java.lang.Throwable getCause()
- Overrides:
getCause
in classjava.lang.Throwable
-
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
-