public void Validate(int number) throws Exception
{

if(number > 0 && number < min)
{
throw new NumberLowException("NumberLowException: number < 10");
//throw NumberLowException
}

if(number > max)
{
throw new NumberHighException("NumberHighException: number > 100");
//throw NumberHighException
}

if(number < 0)
{
throw new NumberNegativeException("NumberNegativeException: number < 0");
//Throw NumberNegativeException
}


if(number >= min && number <= max)
{
System.out.println("is a valid number");
//if not exception print valid number
}

}