minecraft-src/net/minecraft/ReportedException.java
2025-07-04 01:41:11 +03:00

24 lines
456 B
Java

package net.minecraft;
public class ReportedException extends RuntimeException {
private final CrashReport report;
public ReportedException(CrashReport report) {
this.report = report;
}
/**
* Gets the CrashReport wrapped by this exception.
*/
public CrashReport getReport() {
return this.report;
}
public Throwable getCause() {
return this.report.getException();
}
public String getMessage() {
return this.report.getTitle();
}
}