Package net.minecraft.crash
Class CrashReport
- java.lang.Object
-
- net.minecraft.crash.CrashReport
-
public class CrashReport extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CrashReport(java.lang.String title, java.lang.Throwable exception)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CrashReportCategory
addCategory(java.lang.String title)
CrashReportCategory
addCategory(java.lang.String title, int stacktracePrune)
static CrashReport
forThrowable(java.lang.Throwable cause, java.lang.String description)
java.lang.String
getDetails()
void
getDetails(java.lang.StringBuilder builder)
java.lang.Throwable
getException()
java.lang.String
getExceptionMessage()
java.lang.String
getFriendlyReport()
java.io.File
getSaveFile()
SystemReport
getSystemReport()
java.lang.String
getTitle()
static void
preload()
boolean
saveToFile(java.io.File toFile)
-
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
-
getException
public java.lang.Throwable getException()
-
getDetails
public java.lang.String getDetails()
-
getDetails
public void getDetails(java.lang.StringBuilder builder)
-
getExceptionMessage
public java.lang.String getExceptionMessage()
-
getFriendlyReport
public java.lang.String getFriendlyReport()
-
getSaveFile
public java.io.File getSaveFile()
-
saveToFile
public boolean saveToFile(java.io.File toFile)
-
getSystemReport
public SystemReport getSystemReport()
-
addCategory
public CrashReportCategory addCategory(java.lang.String title)
-
addCategory
public CrashReportCategory addCategory(java.lang.String title, int stacktracePrune)
-
forThrowable
public static CrashReport forThrowable(java.lang.Throwable cause, java.lang.String description)
-
preload
public static void preload()
-
-