fmpp.util
Class ExceptionCC

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fmpp.util.ExceptionCC
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DataModelBuildingException, EvalException, InstallationException, ProcessingException, SettingException, StringUtil.ParseException

public class ExceptionCC
extends java.lang.Exception

Exception 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
ExceptionCC()
           
ExceptionCC(java.lang.String s)
           
ExceptionCC(java.lang.String s, java.lang.Throwable cause)
           
ExceptionCC(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

ExceptionCC

public ExceptionCC()

ExceptionCC

public ExceptionCC(java.lang.String s)

ExceptionCC

public ExceptionCC(java.lang.Throwable cause)

ExceptionCC

public ExceptionCC(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