com.webmethods.caf.faces.data.task.impl
Class TaskOutOfDateException

java.lang.Object
  extended by FacesException
      extended by com.webmethods.caf.faces.data.ContentProviderException
          extended by com.webmethods.caf.faces.data.task.impl.TaskOutOfDateException

public class TaskOutOfDateException
extends ContentProviderException

This exception is thrown if task being updated is not up-to-date. This may happen if TaskContentProvider holds to a certain task instance state (end user has task open in his brower). And task instance is updated by some other user or background thread and first user then tries to update his task. Task Engine detect that task instance was changed and throws this exception

When this exception happens TaskContentProvider automatically refreshes task state, so client code just need to catch this error and re-execute task update transaction.


Constructor Summary
TaskOutOfDateException()
           
TaskOutOfDateException(String arg0)
           
TaskOutOfDateException(String arg0, Throwable arg1)
           
TaskOutOfDateException(Throwable arg0)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskOutOfDateException

public TaskOutOfDateException()

TaskOutOfDateException

public TaskOutOfDateException(String arg0,
                              Throwable arg1)

TaskOutOfDateException

public TaskOutOfDateException(String arg0)

TaskOutOfDateException

public TaskOutOfDateException(Throwable arg0)