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

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    TaskTimeoutException

Exception thrown when a TaskExecutor rejects to accept a given task for execution.
Constructor:
 public TaskRejectedException(String msg) 
    Create a new TaskRejectedException with the specified detail message and no root cause.
    Parameters:
    msg - the detail message
 public TaskRejectedException(String msg,
    Throwable cause) 
    Create a new TaskRejectedException 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