@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static class ExecutorServiceUtils.ExecutionRejectedException extends Exception
RejectedExecutionException.
The exception also caches the serializable metadata.| Constructor and Description |
|---|
ExecutionRejectedException(ExecutorService es,
RejectedExecutionException cause)
Constructor of the new exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExecutorServiceDisplayName() |
String |
getRunnableDisplayName() |
boolean |
isFatal()
Checks if the issue is fatal.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ExecutionRejectedException(ExecutorService es, RejectedExecutionException cause)
es - Executor service, which rejected the exceptioncause - Cause passed as a runtime exceptionpublic String getExecutorServiceDisplayName()
public String getRunnableDisplayName()
public boolean isFatal()
true, the ExecutorService will never accept any other taskCopyright © 2004–2022. All rights reserved.