public class TaskTimeoutException extends TaskRejectedException
AsyncTaskExecutor rejects to accept
 a given task for execution because of the specified timeout.AsyncTaskExecutor.execute(Runnable, long), 
TaskRejectedException, 
Serialized Form| Constructor and Description | 
|---|
| TaskTimeoutException(String msg)Create a new  TaskTimeoutExceptionwith the specified detail message and no root cause. | 
| TaskTimeoutException(String msg,
                    Throwable cause)Create a new  TaskTimeoutExceptionwith the specified detail message and the given root cause. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TaskTimeoutException(String msg)
TaskTimeoutException
 with the specified detail message and no root cause.msg - the detail messagepublic TaskTimeoutException(String msg, Throwable cause)
TaskTimeoutException
 with the specified detail message and the given root cause.msg - the detail messagecause - the root cause (usually from using an underlying
 API such as the java.util.concurrent package)RejectedExecutionException