Files
2026-11-13 22:25:04 +01:00

15 lines
427 B
Java

package net.minecraft;
import org.slf4j.Logger;
public class DefaultUncaughtExceptionHandler implements Thread.UncaughtExceptionHandler {
private final Logger logger;
public DefaultUncaughtExceptionHandler(Logger pLogger) {
this.logger = pLogger;
}
public void uncaughtException(Thread pThread, Throwable pException) {
this.logger.error("Caught previously unhandled exception :", pException);
}
}