类 JobMethodInvocationFailedException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.scheduling.quartz.JobMethodInvocationFailedException
- 所有已实现的接口:
Serializable
public class JobMethodInvocationFailedException extends NestedRuntimeException
Unchecked exception that wraps an exception thrown from a target method. Propagated to the Quartz scheduler from a Job that reflectively invokes an arbitrary target method.- 从以下版本开始:
- 2.5.3
- 作者:
- Juergen Hoeller
- 另请参阅:
MethodInvokingJobDetailFactoryBean
, 序列化表格
构造器概要
构造器 构造器 说明 JobMethodInvocationFailedException(MethodInvoker methodInvoker, Throwable cause)
Constructor for JobMethodInvocationFailedException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
JobMethodInvocationFailedException
public JobMethodInvocationFailedException(MethodInvoker methodInvoker, Throwable cause)
Constructor for JobMethodInvocationFailedException.- 参数:
methodInvoker
- the MethodInvoker used for reflective invocationcause
- the root cause (as thrown from the target method)