org.jamon
Class JamonRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jamon.JamonRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TemplateCompilationException, UnknownTemplateException

public class JamonRuntimeException
extends RuntimeException

See Also:
Serialized Form

Constructor Summary
JamonRuntimeException(String p_msg)
           
JamonRuntimeException(String p_msg, Throwable p_rootCause)
           
JamonRuntimeException(Throwable p_rootCause)
           
 
Method Summary
 Throwable getRootCause()
          Deprecated. use Throwable.getCause() instead
 void printStackTrace()
           
 void printStackTrace(PrintStream p_stream)
           
 void printStackTrace(PrintWriter p_writer)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

JamonRuntimeException

public JamonRuntimeException(String p_msg)

JamonRuntimeException

public JamonRuntimeException(String p_msg,
                             Throwable p_rootCause)

JamonRuntimeException

public JamonRuntimeException(Throwable p_rootCause)
Method Detail

getRootCause

@Deprecated
public Throwable getRootCause()
Deprecated. use Throwable.getCause() instead

Returns:
the root cause for this exception

printStackTrace

public void printStackTrace(PrintWriter p_writer)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream p_stream)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable