| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | java.util.concurrent.RejectedExecutionException | ||||
| ↳ | org.springframework.core.task.TaskRejectedException | ||||
Known Direct Subclasses
|
Exception thrown when a TaskExecutor rejects to accept
a given task for execution.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new
TaskRejectedException
with the specified detail message and no root cause. | |||||||||||
Create a new
TaskRejectedException
with the specified detail message and the given root cause. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Create a new TaskRejectedException
with the specified detail message and no root cause.
| msg | the detail message |
|---|
Create a new TaskRejectedException
with the specified detail message and the given root cause.
| msg | the detail message |
|---|---|
| cause | the root cause (usually from using an underlying
API such as the java.util.concurrent package) |