public static class java.util.concurrent
ThreadPoolExecutor.AbortPolicy


Hide details Login
Java SE 6
  
Implements: RejectedExecutionHandler
Contained within: ThreadPoolExecutor

A handler for rejected tasks that throws a RejectedExecutionException.

Constructors
public ThreadPoolExecutor.AbortPolicy()
Creates an AbortPolicy.

Methods
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
Always throws RejectedExecutionException.
rthe runnable task requested to be executed
ethe executor attempting to execute this task
ThrowsRejectedExecutionException: always.