Class 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)  
    • Constructor Detail

      • CrashReport

        public CrashReport​(java.lang.String descriptionIn,
                           java.lang.Throwable causeThrowable)
    • 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.
      • 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