org.millscript.commons.alert.reporters
Class StandardMishapAlertReporter

java.lang.Object
  extended by org.millscript.commons.alert.reporters.AbstractAlertReporter
      extended by org.millscript.commons.alert.reporters.StandardMishapAlertReporter
All Implemented Interfaces:
AlertReporter

public class StandardMishapAlertReporter
extends AbstractAlertReporter

This class provides a standard Alert reporter for mishaps, that outputs everything to the standard error stream.


Field Summary
static AlertReporter MISHAP_REPORTER
          A convenience StandardMishapAlertReporter instance for applications to use.
 
Constructor Summary
StandardMishapAlertReporter()
          Constructs a new StandardMishapAlertReporter.
 
Method Summary
 void reportComplaint(java.lang.String complaint)
          Reports the specified Culprit.
 
Methods inherited from class org.millscript.commons.alert.reporters.AbstractAlertReporter
report, reportCulprit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MISHAP_REPORTER

public static final AlertReporter MISHAP_REPORTER
A convenience StandardMishapAlertReporter instance for applications to use.

Constructor Detail

StandardMishapAlertReporter

public StandardMishapAlertReporter()
Constructs a new StandardMishapAlertReporter.

Method Detail

reportComplaint

public void reportComplaint(java.lang.String complaint)
Description copied from class: AbstractAlertReporter
Reports the specified Culprit.

Specified by:
reportComplaint in class AbstractAlertReporter
See Also:
AbstractAlertReporter.reportComplaint(java.lang.String)


Copyright © 2005-2007 Open World Ltd. All Rights Reserved.