org.springframework.scheduling
Class SchedulingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.scheduling.SchedulingException
All Implemented Interfaces:
java.io.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.

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.
 
Method Summary
 
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
 

Constructor Detail

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 message
cause - the root cause (usually from using a underlying scheduling API such as Quartz)