java.lang.Object | ||||||
↳ | java.lang.Throwable | |||||
↳ | java.lang.Exception | |||||
↳ | java.lang.RuntimeException | |||||
↳ | java.util.concurrent.RejectedExecutionException | |||||
↳ | org.springframework.core.task.TaskRejectedException | |||||
↳ | org.springframework.core.task.TaskTimeoutException |
Exception thrown when a AsyncTaskExecutor
rejects to accept
a given task for execution because of the specified timeout.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new
TaskTimeoutException
with the specified detail message and no root cause. | |||||||||||
Create a new
TaskTimeoutException
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 TaskTimeoutException
with the specified detail message and no root cause.
msg | the detail message |
---|
Create a new TaskTimeoutException
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) |