code: private Runnable decorateTask(Runnable task, boolean isRepeatingTask) {
          Runnable result = TaskUtils.decorateTaskWithErrorHandler(task, this.errorHandler, isRepeatingTask);
          if (this.enterpriseConcurrentScheduler) {
              result = ManagedTaskBuilder.buildManagedTask(result, task.toString());
          }
          return result;
      }
docs: Decorate task.
  
  @param task
  the task
  @param isRepeatingTask
  the is repeating task
  @return the runnable