Package net.minecraft.src
Class CrashReport
java.lang.Object
net.minecraft.src.CrashReport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the stack trace of the Throwable that caused this crash report, or if that fails, the cause .toString().Gets the complete report with headers, stack trace, and different sections as a string.Returns the Throwable object that is the cause for the crash and Crash Report.Returns the description of the Crash Report.getFile()Gets the file this crash report is saved into.voidgetSectionsInStringBuilder(StringBuilder par1StringBuilder) Gets the various sections of the crash report into the given StringBuildermakeCategory(String par1Str) Creates a CrashReportCategorymakeCategoryDepth(String par1Str, int par2) Creates a CrashReportCategory for the given stack trace depthstatic CrashReportmakeCrashReport(Throwable par0Throwable, String par1Str) Creates a crash report for the exceptionbooleansaveToFile(File par1File, ILogAgent par2ILogAgent) Saves the complete crash report to the given File.
-
Constructor Details
-
CrashReport
-
-
Method Details
-
getDescription
Returns the description of the Crash Report. -
getCrashCause
Returns the Throwable object that is the cause for the crash and Crash Report. -
getSectionsInStringBuilder
Gets the various sections of the crash report into the given StringBuilder -
getCauseStackTraceOrString
Gets the stack trace of the Throwable that caused this crash report, or if that fails, the cause .toString(). -
getCompleteReport
Gets the complete report with headers, stack trace, and different sections as a string. -
getFile
Gets the file this crash report is saved into. -
saveToFile
Saves the complete crash report to the given File. -
getCategory
-
makeCategory
Creates a CrashReportCategory -
makeCategoryDepth
Creates a CrashReportCategory for the given stack trace depth -
makeCrashReport
Creates a crash report for the exception
-