@Test public void testExecuteWithoutException() { Runnable runnable = spy(new MockRunnableWithoutException()); Throwable caught = null; try { synchronized (executor) { executor.execute(runnable); executor.wait(100); } } catch (InterruptedException x) { throw new Error(x); } catch (Exception x) { caught = x; } assertThat(done).isEqualTo(true); verify(runnable).run(); assertThat(caught).isNull(); assertThat(handled).isNull(); List<Event> events = recorder.play(); assertThat(events).isEmpty(); }
@Override public void execute(Runnable task) { executor.execute(createWrappedRunnable(task)); }
ExceptionHandlingAsyncTaskExecutor implements AsyncTaskExecutor,
    InitializingBean, DisposableBean { @Override public void execute(Runnable task) { executor.execute(createWrappedRunnable(task)); } }
ExceptionHandlingAsyncTaskExecutor implements AsyncTaskExecutor,
    InitializingBean, DisposableBean { @Override public void execute(Runnable task) { executor.execute(createWrappedRunnable(task)); } ExceptionHandlingAsyncTaskExecutor(AsyncTaskExecutor executor); }
ExceptionHandlingAsyncTaskExecutor implements AsyncTaskExecutor,
    InitializingBean, DisposableBean { @Override public void execute(Runnable task) { executor.execute(createWrappedRunnable(task)); } ExceptionHandlingAsyncTaskExecutor(AsyncTaskExecutor executor); @Override void execute(Runnable task); @Override void execute(Runnable task, long startTimeout); @Override Future<?> submit(Runnable task); @Override Future<T> submit(Callable<T> task); @Override void destroy(); @Override void afterPropertiesSet(); }
ExceptionHandlingAsyncTaskExecutor implements AsyncTaskExecutor,
    InitializingBean, DisposableBean { @Override public void execute(Runnable task) { executor.execute(createWrappedRunnable(task)); } ExceptionHandlingAsyncTaskExecutor(AsyncTaskExecutor executor); @Override void execute(Runnable task); @Override void execute(Runnable task, long startTimeout); @Override Future<?> submit(Runnable task); @Override Future<T> submit(Callable<T> task); @Override void destroy(); @Override void afterPropertiesSet();  }