minecraft_25w45a_unobfuscated/net/minecraft/DefaultUncaughtExceptionHandler.java
2025-11-24 22:52:51 +03:00

25 lines
529 B
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* org.slf4j.Logger
*/
package net.minecraft;
import org.slf4j.Logger;
public class DefaultUncaughtExceptionHandler
implements Thread.UncaughtExceptionHandler {
private final Logger logger;
public DefaultUncaughtExceptionHandler(Logger logger) {
this.logger = logger;
}
@Override
public void uncaughtException(Thread t, Throwable e) {
this.logger.error("Caught previously unhandled exception :", e);
}
}