spring-framework / org.springframework.core.task / TaskTimeoutException

TaskTimeoutException

open class TaskTimeoutException : TaskRejectedException

Exception thrown when a AsyncTaskExecutor rejects to accept a given task for execution because of the specified timeout.

Author
Juergen Hoeller

Since
2.0.3

See Also
AsyncTaskExecutor#execute(Runnable, long)TaskRejectedException

Constructors

<init>

TaskTimeoutException(msg: String)

Create a new TaskTimeoutException with the specified detail message and no root cause.

TaskTimeoutException(msg: String, cause: Throwable)

Create a new TaskTimeoutException with the specified detail message and the given root cause.