swingx
Version 2005-08-19

org.jdesktop.swingx
Class ErrorReporter

java.lang.Object
  extended by org.jdesktop.swingx.ErrorReporter
Direct Known Subclasses:
MailErrorReporter

public abstract class ErrorReporter
extends Object

Abstract class contains all the declarations that needs to be implemented to add error reporting to standard JXErrorDislog.

Version:
1.0

Constructor Summary
ErrorReporter()
           
 
Method Summary
 String getActionName()
          This method allows on-the-fly configuration of the 'report' button.
abstract  void reportIncident(IncidentInfo info)
          This method will be called if user clicks 'report' button on the error dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorReporter

public ErrorReporter()
Method Detail

reportIncident

public abstract void reportIncident(IncidentInfo info)
This method will be called if user clicks 'report' button on the error dialog.

Parameters:
info - IncidentInfo that incapsulates all the information system wants to report using this report facility.

getActionName

public String getActionName()
This method allows on-the-fly configuration of the 'report' button. If this method returns non-null value this string will replace default text on this button.

Returns:
string to be put on 'report' button or null for default string.

swingx
Version 2005-08-19