Package org.jenkinsci.remoting.util
Class ExecutorServiceUtils.ExecutionRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jenkinsci.remoting.util.ExecutorServiceUtils.ExecutionRejectedException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ExecutorServiceUtils
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public static class ExecutorServiceUtils.ExecutionRejectedException
extends Exception
Wraps the runtime
RejectedExecutionException
.
The exception also caches the serializable metadata.- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor of the new exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExecutionRejectedException
Constructor of the new exception.- Parameters:
es
- Executor service, which rejected the exceptioncause
- Cause passed as a runtime exception
-
-
Method Details
-
getExecutorServiceDisplayName
-
getRunnableDisplayName
-
isFatal
public boolean isFatal()Checks if the issue is fatal.- Returns:
- If
true
, theExecutorService
will never accept any other task
-