TaskExecutor rejects to accept
a given task for execution.
TaskExecutor#execute(Runnable)
| Access | Constructor and Description |
|---|---|
| public | TaskRejectedException(String
the detail message msg)Create a new |
| public | TaskRejectedException(String
the detail message msg, Throwable the root cause (usually from using an underlying
API such as the cause)java.util.concurrent package)Create a new |
| public | TaskRejectedException(Executor
the executor, Object Executor that rejected the taskthe task object that got rejected task, RejectedExecutionException the original cause)RejectedExecutionExceptionCreate a new |
| Modifier and Type | Method and Description |
|---|---|
| private static String |
| TaskRejectedException | back to summary |
|---|---|
| public TaskRejectedException(String msg) Create a new
| |
| TaskRejectedException | back to summary |
|---|---|
| public TaskRejectedException(String msg, Throwable cause) Create a new
| |
| TaskRejectedException | back to summary |
|---|---|
| public TaskRejectedException(Executor executor, Object task, RejectedExecutionException cause) Create a new
| |
| executorDescription | back to summary |
|---|---|
| private static String executorDescription(Executor executor) | |