public class TaskRejectedException
extends java.util.concurrent.RejectedExecutionException
TaskExecutor rejects to accept
a given task for execution.TaskExecutor.execute(Runnable),
TaskTimeoutException,
Serialized Form| Constructor and Description |
|---|
TaskRejectedException(java.lang.String msg)
Create a new
TaskRejectedException
with the specified detail message and no root cause. |
TaskRejectedException(java.lang.String msg,
java.lang.Throwable cause)
Create a new
TaskRejectedException
with the specified detail message and the given root cause. |
public TaskRejectedException(java.lang.String msg)
TaskRejectedException
with the specified detail message and no root cause.msg - the detail messagepublic TaskRejectedException(java.lang.String msg,
java.lang.Throwable cause)
TaskRejectedException
with the specified detail message and the given root cause.msg - the detail messagecause - the root cause (usually from using an underlying
API such as the java.util.concurrent package)RejectedExecutionException