public class CrashReport extends Object
Constructor and Description |
---|
CrashReport(String par1Str,
Throwable par2Throwable) |
Modifier and Type | Method and Description |
---|---|
CrashReportCategory |
func_85056_g() |
String |
func_90021_c() |
String |
getCauseStackTraceOrString()
Gets the stack trace of the Throwable that caused this crash report, or if that fails, the cause .toString().
|
String |
getCompleteReport()
Gets the complete report with headers, stack trace, and different sections as a string.
|
Throwable |
getCrashCause()
Returns the Throwable object that is the cause for the crash and Crash Report.
|
String |
getDescription()
Returns the description of the Crash Report.
|
File |
getFile() |
void |
getSectionsInStringBuilder(StringBuilder par1StringBuilder)
Gets the various sections of the crash report into the given StringBuilder
|
CrashReportCategory |
makeCategory(String par1Str)
Creates a CrashReportCategory
|
CrashReportCategory |
makeCategoryDepth(String par1Str,
int par2)
Creates a CrashReportCategory for the given stack trace depth
|
static CrashReport |
makeCrashReport(Throwable par0Throwable,
String par1Str)
Creates a crash report for the exception
|
boolean |
saveToFile(File par1File,
ILogAgent par2ILogAgent)
Saves the complete crash report to the given File.
|
public String getDescription()
public Throwable getCrashCause()
public String func_90021_c()
public void getSectionsInStringBuilder(StringBuilder par1StringBuilder)
public String getCauseStackTraceOrString()
public String getCompleteReport()
public File getFile()
public boolean saveToFile(File par1File, ILogAgent par2ILogAgent)
public CrashReportCategory func_85056_g()
public CrashReportCategory makeCategory(String par1Str)
public CrashReportCategory makeCategoryDepth(String par1Str, int par2)
public static CrashReport makeCrashReport(Throwable par0Throwable, String par1Str)