Package org.springframework.scheduling
Class SchedulingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.scheduling.SchedulingException
- All Implemented Interfaces:
Serializable
General exception to be thrown on scheduling failures,
such as the scheduler already having shut down.
Unchecked since scheduling failures are usually fatal.
- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor for SchedulingException.SchedulingException
(String msg, Throwable cause) Constructor for SchedulingException. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SchedulingException
Constructor for SchedulingException.- Parameters:
msg
- the detail message
-
SchedulingException
Constructor for SchedulingException.- Parameters:
msg
- the detail messagecause
- the root cause (usually from using a underlying scheduling API such as Quartz)
-