类 TaskTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.concurrent.RejectedExecutionException
cn.taketoday.core.task.TaskRejectedException
cn.taketoday.core.task.TaskTimeoutException
- 所有已实现的接口:
Serializable
Exception thrown when a
AsyncTaskExecutor rejects to accept
a given task for execution because of the specified timeout.- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller
- 另请参阅:
-
构造器概要
构造器构造器说明Create a newTaskTimeoutExceptionwith the specified detail message and no root cause.TaskTimeoutException(String msg, Throwable cause) Create a newTaskTimeoutExceptionwith the specified detail message and the given root cause. -
方法概要
-
构造器详细资料
-
TaskTimeoutException
Create a newTaskTimeoutExceptionwith the specified detail message and no root cause.- 参数:
msg- the detail message
-
TaskTimeoutException
Create a newTaskTimeoutExceptionwith the specified detail message and the given root cause.- 参数:
msg- the detail messagecause- the root cause (usually from using an underlying API such as thejava.util.concurrentpackage)- 另请参阅:
-