/Users/richardallenbair/Documents/Source/Projects/nonsense/swingx/src/beaninfo/ErrorReporter_API.java
package org.jdesktop.swingx.error;

/**
 * <p>ErrorReporter is used by {@link JXErrorDialog} to implement a pluggable
 * error reporting API. For example, a <code>JXErrorDialog</code> may use
 * an {@link EmailErrorReporter}, or a {@link LogErrorReporter}, or
 * perhaps even an <code>RSSErrorReporter</code>.</p>
 *
 * @author Alexander Zuev
 * @author rbair
 * @version 1.0
 */
public interface ErrorReporter {
    /**
     * <p>Reports an incident based on the given {@link IncidentInfo}. This
     * method may be a long running method, and so should not block the EDT in
     * any way.</p>
     *
     * @param info encapsulates all information to report using this facility
     */
    public void reportIncident(IncidentInfo info);
}