Example usage for org.springframework.scheduling SchedulingException SchedulingException

List of usage examples for org.springframework.scheduling SchedulingException SchedulingException

Introduction

In this page you can find the example usage for org.springframework.scheduling SchedulingException SchedulingException.

Prototype

public SchedulingException(String msg) 

Source Link

Document

Constructor for SchedulingException.

Usage

From source file:com.saysth.commons.quartz.SimpleThreadPoolTaskExecutor.java

public void execute(Runnable task) {
    Assert.notNull(task, "Runnable must not be null");
    if (!runInThread(task)) {
        throw new SchedulingException("Quartz SimpleThreadPool already shut down");
    }/* ww w  .j  a va 2s .  co m*/
}