类 SchedulingException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.scheduling.SchedulingException
- 所有已实现的接口:
Serializable
public class SchedulingException extends NestedRuntimeException
General exception to be thrown on scheduling failures, such as the scheduler already having shut down. Unchecked since scheduling failures are usually fatal.- 从以下版本开始:
- 2.0
- 作者:
- Juergen Hoeller
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 SchedulingException(String msg)Constructor for SchedulingException.SchedulingException(String msg, Throwable cause)Constructor for SchedulingException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
SchedulingException
public SchedulingException(String msg)
Constructor for SchedulingException.- 参数:
msg- the detail message
SchedulingException
public SchedulingException(String msg, Throwable cause)
Constructor for SchedulingException.- 参数:
msg- the detail messagecause- the root cause (usually from using a underlying scheduling API such as Quartz)