Package fmpp.util

Class 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
    • 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)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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