Package net.minecraft.crash
Class CrashReport
- java.lang.Object
-
- net.minecraft.crash.CrashReport
-
public class CrashReport extends java.lang.Object
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Constructor Summary
Constructors Constructor Description CrashReport(java.lang.String descriptionIn, java.lang.Throwable causeThrowable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CrashReportCategory
getCategory()
java.lang.String
getCauseStackTraceOrString()
+ Gets the stack trace of the Throwable that caused this crash report, or if that fails, the cause .toString().java.lang.String
getCompleteReport()
+ Gets the complete report with headers, stack trace, and different sections as a string.java.lang.Throwable
getCrashCause()
+ Returns the Throwable object that is the cause for the crash and Crash Report.java.lang.String
getDescription()
+ Returns the description of the Crash Report.void
getSectionsInStringBuilder(java.lang.StringBuilder builder)
+ Gets the various sections of the crash report into the given StringBuilderCrashReportCategory
makeCategory(java.lang.String name)
+ Creates a CrashReportCategoryCrashReportCategory
makeCategoryDepth(java.lang.String categoryName, int stacktraceLength)
+ Creates a CrashReportCategory for the given stack trace depthstatic CrashReport
makeCrashReport(java.lang.Throwable causeIn, java.lang.String descriptionIn)
+ Creates a crash report for the exception
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
+ Returns the description of the Crash Report.
-
getCrashCause
public java.lang.Throwable getCrashCause()
+ Returns the Throwable object that is the cause for the crash and Crash Report.
-
getSectionsInStringBuilder
public void getSectionsInStringBuilder(java.lang.StringBuilder builder)
+ Gets the various sections of the crash report into the given StringBuilder
-
getCauseStackTraceOrString
public java.lang.String getCauseStackTraceOrString()
+ Gets the stack trace of the Throwable that caused this crash report, or if that fails, the cause .toString().
-
getCompleteReport
public java.lang.String getCompleteReport()
+ Gets the complete report with headers, stack trace, and different sections as a string.
-
getCategory
public CrashReportCategory getCategory()
-
makeCategory
public CrashReportCategory makeCategory(java.lang.String name)
+ Creates a CrashReportCategory
-
makeCategoryDepth
public CrashReportCategory makeCategoryDepth(java.lang.String categoryName, int stacktraceLength)
+ Creates a CrashReportCategory for the given stack trace depth
-
makeCrashReport
public static CrashReport makeCrashReport(java.lang.Throwable causeIn, java.lang.String descriptionIn)
+ Creates a crash report for the exception
-
-