You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
815 B
Java
33 lines
815 B
Java
package net.minecraft.util;
|
|
|
|
import net.minecraft.crash.CrashReport;
|
|
|
|
public class ReportedException extends RuntimeException
|
|
{
|
|
/** Instance of CrashReport. */
|
|
private final CrashReport theReportedExceptionCrashReport;
|
|
private static final String __OBFID = "CL_00001579";
|
|
|
|
public ReportedException(CrashReport p_i1356_1_)
|
|
{
|
|
this.theReportedExceptionCrashReport = p_i1356_1_;
|
|
}
|
|
|
|
/**
|
|
* Gets the CrashReport wrapped by this exception.
|
|
*/
|
|
public CrashReport getCrashReport()
|
|
{
|
|
return this.theReportedExceptionCrashReport;
|
|
}
|
|
|
|
public Throwable getCause()
|
|
{
|
|
return this.theReportedExceptionCrashReport.getCrashCause();
|
|
}
|
|
|
|
public String getMessage()
|
|
{
|
|
return this.theReportedExceptionCrashReport.getDescription();
|
|
}
|
|
} |