This class gives you nice way of retrying some action several times to make sure that either works or not. Here's an example of the code where this class can be used :
/**
* Get value of an element using id
*
* @param id the location of the element
* @param attribute name of an attribute
* @return attribute value value that was in attribute
*/
public String getValueFromId(String id, String attribute) throws Exception {