{
<BUG>if(name == null)
</BUG>
throw new IllegalArgumentException("name cannot be null");
<BUG>this.state = name;

}
public boolean isInProcess()
{
return inProcess;
}
public void setInProcess(boolean inProcess)
{
this.inProcess = inProcess;</BUG>
}

{
return state;
}
public void setCurrentState(State state)
{
if(state == null)
throw new IllegalArgumentException("name cannot be null");
this.state = state;
}
