com.limegroup.gnutella.bugs
Class BugManager

java.lang.Object
  extended bycom.limegroup.gnutella.bugs.BugManager

public final class BugManager
extends java.lang.Object

Interface for reporting bugs. This can do any of the following: - Send the bug directly to the servlet - Allow the bug to be reviewed before sending - Allow the user to copy the bug & email it if sending fails. - Supress the bug entirely


Method Summary
 void handleBug(java.lang.Throwable bug, java.lang.Thread active, java.lang.String detail)
          Handles a single bug report.
static BugManager instance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static BugManager instance()

handleBug

public void handleBug(java.lang.Throwable bug,
                      java.lang.Thread active,
                      java.lang.String detail)
Handles a single bug report. If bug is a ThreadDeath, rethrows it. If the user wants to ignore all bugs, this effectively does nothing. The the server told us to stop reporting this (or any) bug(s) for awhile, this effectively does nothing. Otherwise, it will either send the bug directly to the servlet or ask the user to review it before sending.