14 lines
457 B
Java
14 lines
457 B
Java
package net.minecraft.server;
|
|
|
|
public final class RunningOnDifferentThreadException extends RuntimeException {
|
|
public static final RunningOnDifferentThreadException RUNNING_ON_DIFFERENT_THREAD = new RunningOnDifferentThreadException();
|
|
|
|
private RunningOnDifferentThreadException() {
|
|
this.setStackTrace(new StackTraceElement[0]);
|
|
}
|
|
|
|
public synchronized Throwable fillInStackTrace() {
|
|
this.setStackTrace(new StackTraceElement[0]);
|
|
return this;
|
|
}
|
|
}
|