15 lines
431 B
Java
15 lines
431 B
Java
package net.minecraft;
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
public class DefaultUncaughtExceptionHandler implements Thread.UncaughtExceptionHandler {
|
|
private final Logger logger;
|
|
|
|
public DefaultUncaughtExceptionHandler(Logger p_202576_) {
|
|
this.logger = p_202576_;
|
|
}
|
|
|
|
public void uncaughtException(Thread p_131079_, Throwable p_131080_) {
|
|
this.logger.error("Caught previously unhandled exception :", p_131080_);
|
|
}
|
|
} |