org.springframework.scheduling.timer
Class TimerTaskExecutionException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.lang.RuntimeException
java.lang.RuntimeException
               org.springframework.core.NestedRuntimeException
org.springframework.core.NestedRuntimeException
                   org.springframework.scheduling.timer.TimerTaskExecutionException
org.springframework.scheduling.timer.TimerTaskExecutionException
- All Implemented Interfaces: 
- java.io.Serializable
- public class TimerTaskExecutionException- extends NestedRuntimeException
RuntimeException to be thrown when a TimerTask implementation
 encounters a (possibly checked) exception that it wants to rethrow.
 
This exception is analogous to Quartz' JobExecutionException.
 Unfortunately, the Timer API does not specify such an exception itself.
- Since:
- 19.03.2004
- Author:
- Juergen Hoeller
- See Also:
- JobExecutionException, 
Serialized Form
| Constructor Summary | 
| TimerTaskExecutionException(java.lang.String msg,
                            java.lang.Throwable ex)Create a new TimerTaskExecutionException.
 | 
 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
TimerTaskExecutionException
public TimerTaskExecutionException(java.lang.String msg,
                                   java.lang.Throwable ex)
- Create a new TimerTaskExecutionException.
 
- Parameters:
- msg- the error message
- ex- the exception that occured within the TimerTask
Copyright (C) 2003-2004 The Spring Framework Project.