ReportedException .java

net.minecraft.ReportedException (class, 24 lines): extends RuntimeException. members: getReport, getCause, report, getMessage.

net.minecraftclass24 linescommonextends RuntimeException422 B

API Surface (3)

CrashReport getReport()
Throwable getCause()
String getMessage()

Fields & Constants (1)

report

Code Graph: Dependencies (1)

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

Full Source

ReportedException.java24 lines · Minecraft 26.3 · verbatim
1
package net.minecraft;
2
3
public class ReportedException extends RuntimeException {
4
	private final CrashReport report;
5
6
	public ReportedException(final CrashReport report) {
7
		this.report = report;
8
	}
9
10
	public CrashReport getReport() {
11
		return this.report;
12
	}
13
14
	@Override
15
	public Throwable getCause() {
16
		return this.report.getException();
17
	}
18
19
	@Override
20
	public String getMessage() {
21
		return this.report.getTitle();
22
	}
23
}
24

Decompiled Minecraft 26.3 source of ReportedException (net/minecraft/ReportedException.java) with Mojang official mappings, stored verbatim on the site.