Team LiB
Previous Section Next Section

ThreadPoolExecutor.AbortPolicyjava.util.concurrent

Java 5.0

This RejectedExecutionHandler implementation simply throws a RejectedExecutionException.

public static class ThreadPoolExecutor.AbortPolicy implements RejectedExecutionHandler {
// Public Constructors
     public AbortPolicy( );  
// Methods Implementing RejectedExecutionHandler
     public void rejectedExecution(Runnable r, ThreadPoolExecutor e);  
}

    Team LiB
    Previous Section Next Section