Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » core » task » [javadoc | source]
org.springframework.core.task
public class: TaskTimeoutException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            org.springframework.core.NestedRuntimeException
               org.springframework.core.task.TaskRejectedException
                  org.springframework.core.task.TaskTimeoutException

All Implemented Interfaces:
    Serializable

Exception thrown when a AsyncTaskExecutor rejects to accept a given task for execution because of the specified timeout.
Constructor:
 public TaskTimeoutException(String msg) 
    Create a new TaskTimeoutException with the specified detail message and no root cause.
    Parameters:
    msg - the detail message
 public TaskTimeoutException(String msg,
    Throwable cause) 
    Create a new TaskTimeoutException with the specified detail message and the given root cause.
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait