mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
15 lines
422 B
Java
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");
|
|
}
|
|
}
|