org.springframework.scheduling.timer
Class TimerTaskExecutionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.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 org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace
 
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
 

Constructor Detail

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.