ReportedException .java

net.minecraft.util.ReportedException (class): members: theReportedExceptionCrashReport, getCrashReport, getCause, getMessage. imports: CrashReport.

net.minecraft.utilclass33 linescommonextends RuntimeException751 B

API Surface (3)

CrashReport getCrashReport()
Throwable getCause()
String getMessage()

Fields & Constants (1)

theReportedExceptionCrashReport

Code Graph: Dependencies (1)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

ReportedException.java33 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.util;
2
3
import net.minecraft.crash.CrashReport;
4
5
public class ReportedException extends RuntimeException
6
{
7
    /** Instance of CrashReport. */
8
    private final CrashReport theReportedExceptionCrashReport;
9
10
    public ReportedException(CrashReport report)
11
    {
12
        this.theReportedExceptionCrashReport = report;
13
    }
14
15
    /**
16
     * Gets the CrashReport wrapped by this exception.
17
     */
18
    public CrashReport getCrashReport()
19
    {
20
        return this.theReportedExceptionCrashReport;
21
    }
22
23
    public Throwable getCause()
24
    {
25
        return this.theReportedExceptionCrashReport.getCrashCause();
26
    }
27
28
    public String getMessage()
29
    {
30
        return this.theReportedExceptionCrashReport.getDescription();
31
    }
32
}
33

Deobfuscated MCP 1.8.9 source of ReportedException from Marcelektro/MavenMCP-1.8.9 (net/minecraft/util/ReportedException.java), stored verbatim.