allensoft.bug
Class CrashReport

java.lang.Object
  |
  +--allensoft.bug.BugReport
        |
        +--allensoft.bug.CrashReport
All Implemented Interfaces:
java.io.Serializable

public class CrashReport
extends BugReport

A type of BugReport which is the result of an uncaught exception/error. A CrashReportingThread will automatically report any uncaught exceptions in this way.

See Also:
Serialized Form

Constructor Summary
CrashReport(java.lang.Throwable throwable)
          Creates a new CrashReport for the supplied uncaught exception.
 
Method Summary
 java.lang.String getStackTrace()
          Gets the stack trace for this bug report or null if this bug report is not for an uncaught exception.
 java.lang.String getThreadName()
          Gets the name of the thread that was executing when this report was created.
 java.lang.Throwable getThrowable()
          Gets the uncaught throwable object that caused the thread to crash.
 java.lang.String toString()
          Converts this bug report to a string that describes it.
 
Methods inherited from class allensoft.bug.BugReport
getApplicationName, getApplicationVersion, getClassPath, getDetails, getHowToReproduce, getJavaClassVersion, getJavaHome, getJavaVendor, getJavaVersion, getOSArchitecture, getOSName, getOSVersion, getSummary, getUserEMail, getUserName, setApplicationName, setApplicationVersion, setDetails, setHowToReproduce, setSummary, setUserEMail, setUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CrashReport

public CrashReport(java.lang.Throwable throwable)
Creates a new CrashReport for the supplied uncaught exception.
Method Detail

toString

public java.lang.String toString()
Converts this bug report to a string that describes it.
Overrides:
toString in class BugReport

getThrowable

public java.lang.Throwable getThrowable()
Gets the uncaught throwable object that caused the thread to crash.

getThreadName

public java.lang.String getThreadName()
Gets the name of the thread that was executing when this report was created.

getStackTrace

public java.lang.String getStackTrace()
Gets the stack trace for this bug report or null if this bug report is not for an uncaught exception.