org.gjt.universe.gui
Class AutoBugs

java.lang.Object
  |
  +--org.gjt.universe.gui.AutoBugs

public class AutoBugs
extends java.lang.Object


Nested Class Summary
(package private) static class AutoBugs.ABDialog
          GUI
(package private) static class AutoBugs.Monitor
          thread which handles the internal monitoring..
(package private) static class AutoBugs.SendMail
          mail
 
Field Summary
protected static java.lang.String EMAIL_DOMAIN
           
protected static java.lang.String EMAIL_FROM
           
protected static java.lang.String EMAIL_FROM_NAME
           
protected static java.lang.String EMAIL_HOST
           
protected static java.lang.String EMAIL_SUBJECT
           
protected static java.lang.String EMAIL_TO
           
protected static java.lang.String FILENAME
           
protected static boolean isEnabled
           
protected static AutoBugs.Monitor monitor
           
 
Constructor Summary
private AutoBugs()
           
 
Method Summary
static void exception(java.lang.Throwable t)
          exception() This is used to handle exceptions that are required to be caught, but are extremely unlikely to be thrown, or exceptions that warrant an AutoBugs report when thrown.
protected static void getProgramState(java.lang.StringBuffer sb)
           
protected static void getSystemInfo(java.lang.StringBuffer sb)
           
protected static void getThreadState(java.lang.StringBuffer sb)
           
static void init()
          init() Required to initialize the AutoBugs class.
protected static void makeBar(java.lang.StringBuffer sb, char ch)
           
 void setEnabled(boolean value)
          setEnabled() When disabled, AutoBugs will not process bug reports.
static void submitBugReport()
          submitBugReport() Allows user to submit a bug report without having the program error out.
protected static void uncaughtException()
           
protected static void writeBugFile(java.lang.StringBuffer sb)
           
protected static java.lang.StringBuffer writeHeader()
          internal methods
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMAIL_TO

protected static final java.lang.String EMAIL_TO
See Also:
Constant Field Values

EMAIL_FROM

protected static final java.lang.String EMAIL_FROM
See Also:
Constant Field Values

EMAIL_DOMAIN

protected static final java.lang.String EMAIL_DOMAIN
See Also:
Constant Field Values

EMAIL_FROM_NAME

protected static final java.lang.String EMAIL_FROM_NAME
See Also:
Constant Field Values

EMAIL_HOST

protected static final java.lang.String EMAIL_HOST
See Also:
Constant Field Values

EMAIL_SUBJECT

protected static final java.lang.String EMAIL_SUBJECT
See Also:
Constant Field Values

FILENAME

protected static final java.lang.String FILENAME
See Also:
Constant Field Values

monitor

protected static AutoBugs.Monitor monitor

isEnabled

protected static boolean isEnabled
Constructor Detail

AutoBugs

private AutoBugs()
Method Detail

init

public static void init()
init() Required to initialize the AutoBugs class. This should be called early in the life cycle of a program.


setEnabled

public void setEnabled(boolean value)
setEnabled() When disabled, AutoBugs will not process bug reports. It will also refrain from capturing any of stderr.


submitBugReport

public static void submitBugReport()
submitBugReport() Allows user to submit a bug report without having the program error out. This should be a menu item.


exception

public static void exception(java.lang.Throwable t)
exception() This is used to handle exceptions that are required to be caught, but are extremely unlikely to be thrown, or exceptions that warrant an AutoBugs report when thrown.


uncaughtException

protected static void uncaughtException()

writeHeader

protected static java.lang.StringBuffer writeHeader()
internal methods


makeBar

protected static void makeBar(java.lang.StringBuffer sb,
                              char ch)

getSystemInfo

protected static void getSystemInfo(java.lang.StringBuffer sb)

getProgramState

protected static void getProgramState(java.lang.StringBuffer sb)

getThreadState

protected static void getThreadState(java.lang.StringBuffer sb)

writeBugFile

protected static void writeBugFile(java.lang.StringBuffer sb)


Copyright © 2001 Universe Dev Team All Rights Reserved.