public class TaskRejectedException
extends java.util.concurrent.RejectedExecutionException
| 构造器和说明 |
|---|
TaskRejectedException(java.lang.String msg)
Create a new
TaskRejectedException
with the specified detail message and no root cause. |
TaskRejectedException(java.lang.String msg,
java.lang.Throwable cause)
Create a new
TaskRejectedException
with the specified detail message and the given root cause. |
public TaskRejectedException(java.lang.String msg)
TaskRejectedException
with the specified detail message and no root cause.msg - the detail messagepublic TaskRejectedException(java.lang.String msg,
java.lang.Throwable cause)
TaskRejectedException
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