Arcturus-Community/src/main/java/com/eu/habbo/threading/RejectedExecutionHandlerImpl.java
2019-05-26 21:15:26 +03:00

15 lines
422 B
Java

package com.eu.habbo.threading;
import com.eu.habbo.Emulator;
import java.util.concurrent.RejectedExecutionHandler;
import java.util.concurrent.ThreadPoolExecutor;
public class RejectedExecutionHandlerImpl implements RejectedExecutionHandler {
@Override
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {
Emulator.getLogging().logErrorLine(r.toString() + " is rejected");
}
}