YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.crash.CrashReport Class Reference

Public Member Functions

 CrashReport (String par1Str, Throwable par2Throwable)
 
String getDescription ()
 
Throwable getCrashCause ()
 
String func_90021_c ()
 
void getSectionsInStringBuilder (StringBuilder par1StringBuilder)
 
String getCauseStackTraceOrString ()
 
String getCompleteReport ()
 
File getFile ()
 
boolean saveToFile (File par1File, ILogAgent par2ILogAgent)
 
CrashReportCategory func_85056_g ()
 
CrashReportCategory makeCategory (String par1Str)
 
CrashReportCategory makeCategoryDepth (String par1Str, int par2)
 

Static Public Member Functions

static CrashReport makeCrashReport (Throwable par0Throwable, String par1Str)
 

Constructor & Destructor Documentation

net.minecraft.crash.CrashReport.CrashReport ( String  par1Str,
Throwable  par2Throwable 
)

Member Function Documentation

CrashReportCategory net.minecraft.crash.CrashReport.func_85056_g ( )
String net.minecraft.crash.CrashReport.func_90021_c ( )
String net.minecraft.crash.CrashReport.getCauseStackTraceOrString ( )

Gets the stack trace of the Throwable that caused this crash report, or if that fails, the cause .toString().

String net.minecraft.crash.CrashReport.getCompleteReport ( )

Gets the complete report with headers, stack trace, and different sections as a string.

Throwable net.minecraft.crash.CrashReport.getCrashCause ( )

Returns the Throwable object that is the cause for the crash and Crash Report.

String net.minecraft.crash.CrashReport.getDescription ( )

Returns the description of the Crash Report.

File net.minecraft.crash.CrashReport.getFile ( )

Gets the file this crash report is saved into.

void net.minecraft.crash.CrashReport.getSectionsInStringBuilder ( StringBuilder  par1StringBuilder)

Gets the various sections of the crash report into the given StringBuilder

CrashReportCategory net.minecraft.crash.CrashReport.makeCategory ( String  par1Str)
CrashReportCategory net.minecraft.crash.CrashReport.makeCategoryDepth ( String  par1Str,
int  par2 
)

Creates a CrashReportCategory for the given stack trace depth

static CrashReport net.minecraft.crash.CrashReport.makeCrashReport ( Throwable  par0Throwable,
String  par1Str 
)
static

Creates a crash report for the exception

boolean net.minecraft.crash.CrashReport.saveToFile ( File  par1File,
ILogAgent  par2ILogAgent 
)

Saves the complete crash report to the given File.


The documentation for this class was generated from the following file: