Class ExecutorServiceUtils.ExecutionRejectedException

    • Constructor Detail

      • 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 Detail

      • 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