Class JobMethodInvocationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.scheduling.quartz.JobMethodInvocationFailedException
- All Implemented Interfaces:
Serializable
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.
- Since:
- 2.5.3
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionJobMethodInvocationFailedException
(MethodInvoker methodInvoker, Throwable cause) Constructor for JobMethodInvocationFailedException. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JobMethodInvocationFailedException
Constructor for JobMethodInvocationFailedException.- Parameters:
methodInvoker
- the MethodInvoker used for reflective invocationcause
- the root cause (as thrown from the target method)
-