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:
- java.io.Serializable
public class SchedulingException
- extends org.springframework.core.NestedRuntimeException
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:
- Serialized Form
Constructor Summary |
SchedulingException(java.lang.String msg)
Constructor for SchedulingException. |
SchedulingException(java.lang.String msg,
java.lang.Throwable cause)
Constructor for SchedulingException. |
Methods inherited from class org.springframework.core.NestedRuntimeException |
contains, getMessage, getMostSpecificCause, getRootCause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SchedulingException
public SchedulingException(java.lang.String msg)
- Constructor for SchedulingException.
- Parameters:
msg
- the detail message
SchedulingException
public SchedulingException(java.lang.String msg,
java.lang.Throwable cause)
- Constructor for SchedulingException.
- Parameters:
msg
- the detail messagecause
- the root cause (usually from using a underlying
scheduling API such as Quartz)