|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.src.CrashReport
public class CrashReport
Constructor Summary | |
---|---|
CrashReport(String par1Str,
Throwable par2Throwable)
|
Method Summary | |
---|---|
void |
addCrashSection(String par1Str,
Object par2Obj)
Adds a Crashreport section with the given name with the given value (convered .toString()) |
void |
addCrashSectionCallable(String par1Str,
Callable par2Callable)
Adds a Crashreport section with the given name with the value set to the result of the given Callable; |
void |
addCrashSectionThrowable(String par1Str,
Throwable par2Throwable)
Adds a Crashreport section with the given name with the given Throwable |
Throwable |
func_71505_b()
|
String |
getCauseStackTraceOrString()
Gets the stack trace of the Throwable that caused this crash report, or if that fails, the cause .toString(). |
String |
getCompleteReport()
Gets the complete report with headers, stack trace, and different sections as a string. |
String |
getDescription()
Returns the description of the Crash Report. |
File |
getFile()
|
String |
getSections()
|
void |
getSectionsInStringBuilder(StringBuilder par1StringBuilder)
Gets the various sections of the crash report into the given StringBuilder |
boolean |
saveToFile(File par1File)
Saves the complete crash report to the given File. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CrashReport(String par1Str, Throwable par2Throwable)
Method Detail |
---|
public void addCrashSectionCallable(String par1Str, Callable par2Callable)
public void addCrashSection(String par1Str, Object par2Obj)
public void addCrashSectionThrowable(String par1Str, Throwable par2Throwable)
public String getDescription()
public Throwable func_71505_b()
public String getSections()
public void getSectionsInStringBuilder(StringBuilder par1StringBuilder)
public String getCauseStackTraceOrString()
public String getCompleteReport()
public File getFile()
public boolean saveToFile(File par1File)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |