Executor
when a task cannot be accepted for execution.RejectedExecutionException
with no detail message.RejectedExecutionException
with the specified detail message.RejectedExecutionException
with the specified detail message and cause.RejectedExecutionException
with the specified cause.Future
that is Runnable
.