Create a new TaskRejectedException
with the specified detail message and the given root cause.
Parameters: msg - the detail message Parameters: cause - the root cause (usually from using an underlyingAPI such as the java.util.concurrent package) See Also:java.util.concurrent.RejectedExecutionException
Methods inherited from org.springframework.core.NestedRuntimeException