vgrid.test
Class TestExceptionTask

java.lang.Object
  extended by vgrid.test.TestTask
      extended by vgrid.test.TestExceptionTask
All Implemented Interfaces:
java.io.Serializable, Task

public class TestExceptionTask
extends TestTask

A Task that throws an Error on execution.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class vgrid.test.TestTask
count
 
Constructor Summary
TestExceptionTask()
           
TestExceptionTask(java.lang.String id, int pause, int maxSteps)
           
 
Method Summary
 void takeOneStep()
          Executes one step of the task.
 java.lang.String toStateString()
          Should produce some info about the task and its current state.
 
Methods inherited from class vgrid.test.TestTask
getCount, getExecutionHistory, getId, isFinished, setExecutionHistory, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestExceptionTask

public TestExceptionTask()

TestExceptionTask

public TestExceptionTask(java.lang.String id,
                         int pause,
                         int maxSteps)
Method Detail

toStateString

public java.lang.String toStateString()
Description copied from interface: Task
Should produce some info about the task and its current state. Is used in the client GUI.

Specified by:
toStateString in interface Task
Overrides:
toStateString in class TestTask
Returns:
A string containing a description of the state of task.

takeOneStep

public void takeOneStep()
Description copied from interface: Task
Executes one step of the task. Execution of this method should bring the task closer to termination.

Specified by:
takeOneStep in interface Task
Overrides:
takeOneStep in class TestTask


vgrid the vienna grid project