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 Details

    • ExecutionRejectedException

      public ExecutionRejectedException(ExecutorService es, RejectedExecutionException cause)
      Constructor of the new exception.
      Parameters:
      es - Executor service, which rejected the exception
      cause - Cause passed as a runtime exception
  • Method Details

    • getExecutorServiceDisplayName

      public String getExecutorServiceDisplayName()
    • getRunnableDisplayName

      public String getRunnableDisplayName()
    • isFatal

      public boolean isFatal()
      Checks if the issue is fatal.
      Returns:
      If true, the ExecutorService will never accept any other task