mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-10-24 03:33:06 +02:00
17 lines
426 B
Java
17 lines
426 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");
|
||
|
}
|
||
|
}
|