edu.sc.seis.fissuresUtil.exceptionHandler
Class FilterReporter

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.exceptionHandler.FilterReporter
All Implemented Interfaces:
ExceptionReporter

public class FilterReporter
extends java.lang.Object
implements ExceptionReporter


Constructor Summary
FilterReporter(ExceptionReporter reporter, java.util.List ignoreList)
          Configure this reporter with a pass through Reporter and a List that contains Throwable Classes that are to be ignored.
 
Method Summary
 void report(java.lang.String message, java.lang.Throwable e, java.util.List sections)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterReporter

public FilterReporter(ExceptionReporter reporter,
                      java.util.List ignoreList)
Configure this reporter with a pass through Reporter and a List that contains Throwable Classes that are to be ignored. All Throwables that are not instanceof the classes in the list are passed on to the reporter. Those in the list are silently ignored.

Method Detail

report

public void report(java.lang.String message,
                   java.lang.Throwable e,
                   java.util.List sections)
            throws java.lang.Exception
Specified by:
report in interface ExceptionReporter
Throws:
java.lang.Exception