*/
public void validate() throws InvalidPropertyException
{
/** An int between 1-10 */
if( anInt <= 0 || anInt > 10 )
throw new InvalidPropertyException("anInt is not between 1-10");
/** An int between 50-100 */
if( anInteger.intValue() <= 49 || anInteger.intValue() > 100 )
throw new InvalidPropertyException("anInt is not between 50-100");
/** The 127.0.0.1 address */
if( localhost.getHostAddress().equals("127.0.0.1") == false )
throw new InvalidPropertyException("localhost is not 127.0.0.1");
/** Properties of the key1=*;key2=*;... */
if( props.size() == 0 )
throw new InvalidPropertyException("props has no values");
}