org.jdesktop.swingx
Class ErrorReporter

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

public abstract class ErrorReporter
extends java.lang.Object


Constructor Summary
ErrorReporter()
           
 
Method Summary
 java.lang.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 java.lang.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.