org.springframework.scheduling.support

## 类 DelegatingErrorHandlingRunnable

- java.lang.Object
- - org.springframework.scheduling.support.DelegatingErrorHandlingRunnable

- 所有已实现的接口:
    Runnable

      public class DelegatingErrorHandlingRunnable
      extends Object
      implements Runnable

  Runnable wrapper that catches any exception or error thrown from its delegate Runnable and allows an `ErrorHandler` to handle it.
  从以下版本开始:
    3.0
  作者:
    Juergen Hoeller, Mark Fisher

- - ### 构造器概要

    构造器
    构造器和说明
    `DelegatingErrorHandlingRunnable(Runnable delegate, org.springframework.util.ErrorHandler errorHandler)` Create a new DelegatingErrorHandlingRunnable.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `run()`
    `String` | `toString()`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### DelegatingErrorHandlingRunnable

          public DelegatingErrorHandlingRunnable(Runnable delegate,
                                                 org.springframework.util.ErrorHandler errorHandler)

      Create a new DelegatingErrorHandlingRunnable.
      参数:
        `delegate` - the Runnable implementation to delegate to
        `errorHandler` - the ErrorHandler for handling any exceptions

  - ### 方法详细资料

    - #### run

          public void run()

      指定者:
        `run` 在接口中 `Runnable`

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`