com.jcoverage.reporting
Class ReportingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jcoverage.reporting.ReportingException
All Implemented Interfaces:
java.io.Serializable

public class ReportingException
extends java.lang.Exception

A nestable exception supporting exception chaining.

See Also:
Serialized Form

Constructor Summary
ReportingException(java.lang.String s)
          Create the exception with just a message.
ReportingException(java.lang.String s, java.lang.Throwable cause)
          Create the exception with a message and cause.
 
Method Summary
 java.lang.String getMessage()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream out)
           
 void printStackTrace(java.io.PrintWriter out)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportingException

public ReportingException(java.lang.String s)
Create the exception with just a message. Only use this constructor if there is no cause that can be attributed.


ReportingException

public ReportingException(java.lang.String s,
                          java.lang.Throwable cause)
Create the exception with a message and cause.

Method Detail

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream out)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter out)
Overrides:
printStackTrace in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable