FailedCleanupFileFixException .java

net.minecraft.util.filefix.FailedCleanupFileFixException (class): members: newWorldFolderName, createCrashReport. strings: "World upgrade", "New Name".

net.minecraft.util.filefixclass26 linescommonextends FileFixException830 B

API Surface (2)

CrashReport createCrashReport()
String newWorldFolderName()

Fields & Constants (1)

newWorldFolderName

String literals (2)

"World upgrade"
"New Name"

Code Graph: Dependencies (4)

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

Full Source

FailedCleanupFileFixException.java26 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.util.filefix;
2
3
import net.minecraft.CrashReport;
4
import net.minecraft.CrashReportCategory;
5
6
public final class FailedCleanupFileFixException extends FileFixException {
7
	private final String newWorldFolderName;
8
9
	public FailedCleanupFileFixException(final Exception cause, final String newWorldFolderName, final FileSystemCapabilities fileSystemCapabilities) {
10
		super(cause, fileSystemCapabilities);
11
		this.newWorldFolderName = newWorldFolderName;
12
	}
13
14
	@Override
15
	protected CrashReport createCrashReport() {
16
		CrashReport crashReport = super.createCrashReport();
17
		CrashReportCategory worldUpgrade = crashReport.addCategory("World upgrade");
18
		worldUpgrade.setDetail("New Name", this.newWorldFolderName);
19
		return crashReport;
20
	}
21
22
	public String newWorldFolderName() {
23
		return this.newWorldFolderName;
24
	}
25
}
26

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