Arcturus-Community/src/main/java/com/eu/habbo/threading/RejectedExecutionHandlerImpl.java

17 lines
426 B
Java
Raw Normal View History

2018-07-06 15:30:00 +02:00
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");
}
}