else
return null;
}
@ValidName(message = "must contain the name of an existing node", fieldName = "nodeName", constraintName = "ValidNodeName")
public Node getNode() throws Exception {
<BUG>if (state == null)

throw new Exception("StateNotSetException");
return state.getNodes().findByName(nodeName);
}</BUG>
@Override

else
return null;
}
@ValidName(message = "must contain the name of an existing node", fieldName = "nodeName", constraintName = "ValidNodeName")
public Node getNode() throws Exception {
if (state != null) {
return state.getNodes().findByName(nodeName);
} else {
throw new Exception("StateNotSetException");
}
}
@Override
